You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/23 01:55:26 UTC

[GitHub] [apisix-java-plugin-runner] cyb331 opened a new pull request #53: fix chinese disorderly code

cyb331 opened a new pull request #53:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/53


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [ ] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   
   - Related issues
   
   ___
   ### Bugfix
   - Description
   response.setStatusCode(503);
   response.setHeader("Content-Encoding","UTF-8");
   response.setHeader("Content-Type","application/json;charset=UTF-8");
   response.setHeader("X-GATEWAY-ERROR-FLAG","error");
   response.setBody("错误!!!,aaa");
   
   actual result:??!!!,aaa
   expected result:错误!!!,aaa
   - How to fix?
   byte[] bodyBytes = body.getBytes(StandardCharsets.UTF_8);
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   
   - Source branch
   
   - Related commits and pull requests
   
   - Target branch
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on pull request #53: fix chinese disorderly code

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on pull request #53:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/53#issuecomment-885372972


   @spacewander pls help run the test, and chore the PR title.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-java-plugin-runner] spacewander merged pull request #53: fix: support chinese encoding in the response body

Posted by GitBox <gi...@apache.org>.
spacewander merged pull request #53:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/53


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on pull request #53: fix: support chinese encoding in the response body

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on pull request #53:
URL: https://github.com/apache/apisix-java-plugin-runner/pull/53#issuecomment-885987599


   many thanks @cyb331


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org