Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
0.1
-
None
-
None
Description
Valid JSON is always Unicode. The JSONProtocol does not always have a wire format that conforms to this – strings that are not UTF8 encoded can end up writing bytes into the transport that are not valid UTF8.
I am trying to come up with a way to handle this that doesn't entail escaping every byte above 0x7F into a 6 byte escape sequence "\uXXXX". Suggestions welcomed.