[ 
https://issues.apache.org/jira/browse/THRIFT-449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King, III updated THRIFT-449:
--------------------------------------
    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to