Fix Unicode character corruption and lack of XML character escaping - #6
Conversation
|
@claude review |
|
Looks good, though a small regression test and a helper function for reducing copy-paste would indeed be nice, as Claude noted. Review of commit 62e44d7Commit: "Fix Unicode character corruption and lack of XML character escaping" VerdictApprove. The change is correct. What the commit changesThe commit replaces
Why the old code was wrong
Why the new code is right
The Verification
Notes, none blocking
|
The originally used xshowBlob function converted String to ByteString by truncating the character to 8-bit value, essentially limiting the character set to Latin 1. It also didn't escape XML characters properly.
62e44d7 to
2860fc5
Compare
|
Regression tests and encoding function added. |
The originally used xshowBlob function converted String to ByteString by truncating the character to 8-bit value, essentially limiting the character set to Latin 1.
It also didn't escape XML characters properly.