Convert CP1252 character code to Unicode.

Syntax

int CONV_CP1252ToUnicode(
  int code
);

Parameters

code
[in] Character code in the range 1-255. Specify CP1252 character code.

Return value

Returns Unicode if the conversion is successful, -1 otherwise.

Remarks

Converts the character code of CP1252 specified in code to Unicode and returns it.

Requirements

Header file:
CP1252.h
Library file:
libCP1252.a
libCodeConversion.a
libSTARTUPOPH5000.a


Last updated: 2022/04/08