Converts a UniCode string to Shift-JIS.
int32 ConvertUniCode2ShiftJIS(const unichar *string,char *result, uint32 resultSize,uint8 unknownFiller);
Converts a string from UniCode to Shift-JIS. 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