Function Str2Unicode() Foundation

Converts an OEM/ANSI/ASCII character string to a Unicode string.

Str2Unicode( <cString> ) --> cuString
<cString> is an ANSI-encoded character string.

The function returns a character string in Unicode format.


Function Str2Unicode() converts an ANSI character string to Unicode format. The primary usage of Str2Unicode() is in conjunction with the native platform API.

Str2Unicode() returns a string in UTF-16 Little Endian encoding, which is the native encoding used for Unicode character strings on the Windows platform.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.