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