[ https://issues.apache.org/jira/browse/GEODE-9104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335852#comment-17335852 ]
ASF subversion and git services commented on GEODE-9104: -------------------------------------------------------- Commit fb3076046a5b585e3683e10cd3744f60f8746a52 in geode's branch refs/heads/feature/GEODE-9104 from Barry Oglesby [ https://gitbox.apache.org/repos/asf?p=geode.git;h=fb30760 ] GEODE-9104: Modified test to support UTF-8 on windows server 2016 > REST query output displays non-ASCII characters using escapes > ------------------------------------------------------------- > > Key: GEODE-9104 > URL: https://issues.apache.org/jira/browse/GEODE-9104 > Project: Geode > Issue Type: Bug > Components: rest (dev) > Reporter: Barrett Oglesby > Assignee: Barrett Oglesby > Priority: Major > Labels: pull-request-available > > For example, if JSON containing Chinese characters is put: > {noformat} > curl -X PUT -H "Content-Type: application/json" > localhost:8081/geode/v1/customers/1 -d '{"id": "1", "firstName": "名", > "lastName": "姓"}' > {noformat} > The results of getting the entry are correct: > {noformat} > curl localhost:8081/geode/v1/customers/1 > { > "id" : "1", > "firstName" : "名", > "lastName" : "姓" > } > {noformat} > The results of querying the entry show the field values escaped: > {noformat} > curl -G http://localhost:8081/gemfire-api/v1/queries/adhoc --data-urlencode > "q=SELECT * FROM /customers where id='1'" > [ { > "id" : "1", > "firstName" : "\u540D", > "lastName" : "\u59D3" > } ] > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)