Function Str2Unicode() Foundation

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

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

The function returns a character string in Unicode format.

Description

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.

Feedback

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.