Read and write every text field on the wire as latin1 #16
Reference in New Issue
Block a user
Delete Branch "cstring-latin1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The codec read C-Octet and Octet Strings with
toString('ascii'), which masks bit 7, and wrote them withwrite(text, 'ascii'), which does not. Both halves are now latin1, and a character past U+00FF is refused instead of truncated to its low octet.