xpfConvertString


 

FUNCTION xpfConvertString (inputString              : STRING;
                             inputStringEncoding      : INTEGER;
                             convertedStringEncoding  : INTEGER;
                             VAR anyChanges           : BOOLEAN) 
                             convertedString         : STRING;

                

This function can be used to convert a string from one string encoding style to another.  Currently only conversion from ISO-LATIN-1 and UTF-8, and vice versa, is implemented.                           

Arguments


TypeNameComment
STRINGinputStringinput String
INTEGERinputStringEncodingvalid types:  
XPXCHAR_ENCODING_UTF-8
XPXCHAR_ENCODING_UTF-16
XPXCHAR_ENCODING_ISO-10646-UCS-2
XPXCHAR_ENCODING_ISO-10646-UCS-4
XPXCHAR_ENCODING_ISO-LATIN-1
XPXCHAR_ENCODING_ISO-LATIN-2
XPXCHAR_ENCODING_ISO-8859-3
XPXCHAR_ENCODING_ISO-8859-4
XPXCHAR_ENCODING_ISO-8859-5
XPXCHAR_ENCODING_ISO-8859-6
XPXCHAR_ENCODING_ISO-8859-7
XPXCHAR_ENCODING_ISO-8859-8
XPXCHAR_ENCODING_ISO-8859-9
XPXCHAR_ENCODING_ISO-2022-JP
XPXCHAR_ENCODING_SHIFT_JIS
XPXCHAR_ENCODING_EUC-JP
INTEGERconvertedStringEncodingvalid types:  
XPXCHAR_ENCODING_UTF-8
XPXCHAR_ENCODING_UTF-16
XPXCHAR_ENCODING_ISO-10646-UCS-2
XPXCHAR_ENCODING_ISO-10646-UCS-4
XPXCHAR_ENCODING_ISO-LATIN-1
XPXCHAR_ENCODING_ISO-LATIN-2
XPXCHAR_ENCODING_ISO-8859-3
XPXCHAR_ENCODING_ISO-8859-4
XPXCHAR_ENCODING_ISO-8859-5
XPXCHAR_ENCODING_ISO-8859-6
XPXCHAR_ENCODING_ISO-8859-7
XPXCHAR_ENCODING_ISO-8859-8
XPXCHAR_ENCODING_ISO-8859-9
XPXCHAR_ENCODING_ISO-2022-JP
XPXCHAR_ENCODING_SHIFT_JIS
XPXCHAR_ENCODING_EUC-JP
BOOLEANanyChangesoptional, i.e., can be specified as ? (INDETERMINATE).

Return Value


 

TypeNameComment
STRINGconvertedStringconverted string

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.