Converts an ASCII string to Shift-JIS.
int32 ConvertASCII2ShiftJIS(const char *string,char *result, uint32 resultSize,uint8 unknownFiller);
Converts a string from ASCII 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, returns the number of characters in the result buffer. If negative, returns an error code.
JSTR_ERR_BUFFERTOO
Folio call implemented in jstring folio V24.
jstring.h