Home |
HMI (Human-Machine Interface) Classes Unicode Character Set Conversion Function Big5ToUnicode |
Function Big5ToUnicodeFunction Big5ToUnicode converts a BIG5 character or string to Unicode: PEGCHAR Big5ToUnicode(PEGCHAR c1); void Big5ToUnicode(PEGCHAR * s1, const PEGCHAR * s2); Parametersc1Single 16-bit BIG5 character to convert. s1Pointer to a buffer to receive the translated string. s1 may be equal to s2 for in-place translation. Non-convertible characters are translated to 0. s2Pointer to a NUL-terminated string of 16-bit BIG5 characters to convert. return valueThe single character version of this function returns the result of the conversion (a Unicode character value) or 0 if parameter c1 is not a valid BIG5 character value. Unicode Character Set Conversion
|