 | CUNCUTF16ValToSTR Method (Int32, String) |
Convert a UTF-16 value to a UTF-8 encoded string.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void UTF16ValToSTR(
int ch,
ref string str_val
)
public static void UTF16ValToSTR(
int ch,
ref string str_val
)
Public Shared Sub UTF16ValToSTR (
ch As Integer,
ByRef str_val As String
)
Public Shared Sub UTF16ValToSTR (
ch As Integer,
ByRef str_val As String
)
public:
static void UTF16ValToSTR(
int ch,
String^% str_val
)
public:
static void UTF16ValToSTR(
int ch,
String^% str_val
)
static member UTF16ValToSTR :
ch : int *
str_val : string byref -> unit
static member UTF16ValToSTR :
ch : int *
str_val : string byref -> unit
Parameters
- ch
- Type: SystemInt32
UTF-16 value (32-bit int, lower 16 bits used, upper bits reserved for future use) - str_val
- Type: SystemString
Converted string
RemarksAn empty string will be returned for invalid symbols
See Also