-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: request body charset - chinese error #220
Comments
in request body , Not in response |
How can I modify the character set of a request before the PluginFilter.filter() ? |
like this |
same as #154 |
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. |
apisix-java-plugin-runner version:0.4.0
apsix version:3.0.0
Test post request contain chinese characters in OKHttp:
{ "name":"测试" }
Custom filter in apisix-java-plugin-runner, get request body:
{ "name":"æµu008Bè¯u0095" }
The text was updated successfully, but these errors were encountered: