microgateway icon indicating copy to clipboard operation
microgateway copied to clipboard

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

Open king729 opened this issue 7 years ago • 6 comments

king729 avatar Jan 10 '18 04:01 king729

i have a pull request for this problem

king729 avatar Jan 10 '18 08:01 king729

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

tonyffrench avatar Jan 25 '18 16:01 tonyffrench

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

king729 avatar Jan 25 '18 17:01 king729

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.

tonyffrench avatar Jan 25 '18 17:01 tonyffrench

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

krisztianodor avatar Oct 11 '18 23:10 krisztianodor

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

mathieudz avatar Nov 15 '18 12:11 mathieudz