The wire format of the JSON Protocol may not always be valid JSON if it 
contains non-UTF8 encoded strings
---------------------------------------------------------------------------------------------------------

                 Key: THRIFT-449
                 URL: https://issues.apache.org/jira/browse/THRIFT-449
             Project: Thrift
          Issue Type: Bug
    Affects Versions: 0.1
            Reporter: Chad Walters


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to