[ https://issues.apache.org/jira/browse/GEODE-9104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313656#comment-17313656 ]
Geode Integration commented on GEODE-9104: ------------------------------------------ Seen in [WindowsIntegrationTestOpenJDK8 #120.1|https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/WindowsIntegrationTestOpenJDK8/builds/120.1] ... see [test results|http://files.apachegeode-ci.info/builds/apache-develop-main/1.15.0-build.0110/test-results/integrationTest/1617339602/] or download [artifacts|http://files.apachegeode-ci.info/builds/apache-develop-main/1.15.0-build.0110/test-artifacts/1617339602/windows-integrationtestfiles-OpenJDK8-1.15.0-build.0110.tgz]. > 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)