Converts the specified character to Unicode.
#include <unilib.h> int chr2uni ( UniRuleTable_t table, unicode_t *dest, const char *src, int *used );
(IN) Specifies the table to use in the conversion. To use the host's default code page, specify UNI_LOCAL_DEFAULT. Otherwise, specify the value returned from the UniGetTable function.
(OUT) Points to the address of the converted character.
(IN) Points to the source character. You do not need a null terminator after the character, and you do not need to know the width of the character to be converted.
(OUT) Points to whether the conversion used one byte or two bytes to perform the conversion. The codepage designated by the table parameter determines this value.
If successful, returns 0. Otherwise returns a negative error code.