You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current way write_str_fixed is implemented does not work with cp932, as each character is two bytes. Because it reads the string length and not how many bytes there are, it doesn't write the correct buffer length.
Multiplying the string length by two solves this in SOME cases, but it does not account for the spaces which are just one byte. This is surely an issue for other multiple byte encodings, although I only know it is a problem for cp932.
The text was updated successfully, but these errors were encountered:
The current way write_str_fixed is implemented does not work with cp932, as each character is two bytes. Because it reads the string length and not how many bytes there are, it doesn't write the correct buffer length.
Multiplying the string length by two solves this in SOME cases, but it does not account for the spaces which are just one byte. This is surely an issue for other multiple byte encodings, although I only know it is a problem for cp932.
The text was updated successfully, but these errors were encountered: