fitz-97 commented on issue #220:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/220#issuecomment-1347783035

   > > This method doesn't seem to solve the problem. You can try it
   > 
   > It mainly depends on what encoding (maybe GBK?) your client is using for 
Chinese characters, and then use the same encoding to decode Chinese characters 
in java runner.
   
   
   The client and code uses the same character set.
   However, I found the reason because my docker did not set the character set. 
   when java plugin start `System.getProperty("file.encoding")` to be `ANSI 
X3.4-1968` .
   The startup parameter plus `-Dfile.encoding=utf-8` solves the problem.
    `System.getProperty("file.encoding")`  will be `utf-8` .


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to