Converts a Shift-JIS string to UniCode.
int32 ConvertShiftJIS2UniCode(const char *string,unichar *result, uint32 resultSize,uint8 unknownFiller);
Converts a string from Shift-JIS to UniCode. The conversion is done as well as possible. If certain characters from the source string cannot be represented in ASCII, the unknownFiller byte will be inserted in the result buffer in their place.
If positive, then the number of characters in the result buffer. If negative, then an error code.
JSTR_ERR_BUFFERTOO
Folio call implemented in jstring folio V24.
jstring.h