[
https://issues.apache.org/jira/browse/THRIFT-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047494#comment-15047494
]
James E. King, III commented on THRIFT-449:
-------------------------------------------
[~cwalters] any idea what language(s) this was reported against (6 years ago, I
know...)
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)