Determines how Silk Performer interprets wide characters. By default, wide characters as regarded to be Unicode.
IIOP.bdh
IiopSetWCharType( in nCharType : number, in nCharSize : number optional ): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
nCharType |
Determines the type of wide characters. This parameter can be one or more of the following:
|
nCharSize | Specifies the size of a wide character for the character types IIOP_WIDE_LITTLE_ENDIAN and IIOP_WIDE_BIG_ENDIAN (optional). The size must be 1, 2, or 4. |
var hIiop: number; dcltrans transaction TMain begin // use the big endian representation IiopSetWCharType(IIOP_WIDE_BIG_ENDIAN, 2); IiopSetWString(hIiop, "\x004d00610072006b00750073", 12); // use the little endian representation IiopSetWCharType(IIOP_WIDE_LITTLE_ENDIAN, 2); IiopSetWString(hIiop, "\x4d00610072006b0075007300", 12); // alternatively, use the IiopSetString function IiopSetString(hIiop, "Markus", IIOP_USE_WCHAR); end TMain;