WSTRING_TO_TXB
Function to copy a Unicode string to a text buffer.
Inputs
Input |
Data type |
Description |
WStr |
WSTRING |
Source Unicode character string. |
hTxb |
DINT |
Handle of a valid text buffer. |
UTF8 |
BOOL |
Code page (see remarks) |
Outputs
Output |
Data type |
Description |
OK |
BOOL |
TRUE if successful. |
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.
WSTRING_TO_TXB |
IEC 61131-3 Automation platform > Programming - Reference guide > UNICODE strings (WSTRING) > WSTRING_TO_TXB |
Created with the Personal Edition of HelpNDoc: Effortlessly Create Encrypted, Password-Protected PDFs