CaioMeloSilva / poster-extension

Automatically exported from code.google.com/p/poster-extension
0 stars 0 forks source link

Support chinese character #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I have tried to use poster to test the support of Chinese characters. At
first, I started to create a "POST" request, set the value of the parameter
"a" as for example "我",then used "parameter body" to convert the Chinese
into %u6211 (I think it is some kind of a unicode). But in this situation,
this code could not be recognized by server(my server can only recognize
"UTF-8" code). But if I changed the code in "Content to send" into chinese
characters, then this request could be recognized. 
So, the question is, if a chinese character converted into codes by POSTER,
into which kind of code? If we use chinese characters instead of these
codes, so by request these characters would be also convert into some kind
of code, do you which one?

Thank you in advance

BR,
Tao 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
poster 1.7.1 + firefox 3.0 

Please provide any additional information below.

Original issue reported on code.google.com by liuta...@gmail.com on 23 Feb 2009 at 5:37

GoogleCodeExporter commented 8 years ago
Poster should be sending UTF-8 characters unless you are selecting a file.

The parameters were encoded using the javascript escape() function but that
doesn't support UTF-8 properly.  I've changed to use encodeURIComponent now and
that should hopefully fix this problem.

Original comment by alexmilo...@gmail.com on 3 Aug 2009 at 1:48

GoogleCodeExporter commented 8 years ago
I think this is fixed.  Can you try it out?

Original comment by alexmilo...@gmail.com on 3 Aug 2009 at 2:10

GoogleCodeExporter commented 8 years ago

Original comment by a...@milowski.com on 11 Oct 2011 at 7:55