Script functions reference > Script functions in alphabetical order > C > ConvCurrMsgToUC

ConvCurrMsgToUC
Syntax
ConvCurrMsgToUC(codepage, text_order);
codepage
text_order
0 (logical order) or 1 (visual order).
Specifies whether bidirectional input text is logically or visually ordered. Set this argument to 1 only if the input data contains visually ordered bidirectional text (Arabic or Hebrew).
Description
Converts the encoding of input data from the specified code page to UCS-2. You can use ConvCurrMsgToUC under the following conditions:
No code page is specified for the input connector. If you specify a code page for the input connector, ConvCurrMsgToUC will be ignored.
Returns
A number indicating whether the data was successfully converted.
1
0
Example
ConvCurrMsgToUC("ISO 8859-1", 0);
OpenText StreamServe 5.6 Updated: 2013-03-01