STRING_TO_WSTRING
Function to copy an ANSI string to a Unicode character string.
Inputs
Input |
Data type |
Description |
Str |
STRING |
ANSI character string. |
UTF8 |
BOOL |
Code page (see remarks) |
Outputs
Output |
Data type |
Description |
Q |
WSTRING |
Unicode string containing copied characters. |
Remarks
If UTF8 is TRUE, then the string is converted using the standard UTF8 encoding.
If UTF8 is FALSE, then the string is converted using the active code page.
The result string is truncated if longer than 32000 characters.
STRING_TO_WSTRING |
IEC 61131-3 Automation platform > Programming - Reference guide > UNICODE strings (WSTRING) > STRING_TO_WSTRING |
Created with the Personal Edition of HelpNDoc: Elevate your documentation to new heights with HelpNDoc's built-in SEO