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.


Created with the Personal Edition of HelpNDoc: Effortlessly Create Encrypted, Password-Protected PDFs