Skip to content
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

please when i use chinese in the body of a post request i can not get the post data #96

Open
king729 opened this issue Jan 10, 2018 · 6 comments

Comments

@king729
Copy link

king729 commented Jan 10, 2018

No description provided.

@king729
Copy link
Author

king729 commented Jan 10, 2018

i have a pull request for this problem

@tonyffrench
Copy link
Contributor

I've added some comments to your PR, if you could also add a testcase please.

@king729
Copy link
Author

king729 commented Jan 25, 2018

when i use gateway with chinese by utf-8 , the length of the buffer is not right, because we need the length of bytes , not characters

@tonyffrench
Copy link
Contributor

If you can add a testcase, I'll take a closer look. We might need to consolidate everything into a Buffer sooner in the flow.

@krisztianodor
Copy link

krisztianodor commented Oct 11, 2018

Any update on this? I cannot post special characters like: áíéőú. king729's fix works!

@mathieudz
Copy link

Same here. #97 fixes payloads with UTF-8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants