Skip to content Skip to sidebar Skip to footer

Submit Form With Get Method In Non Utf-8 Encoding

I have a page in non UTF-8 encoding. There is a form with method='get'. If I submit these non UTF-8 characters, they get to the URI. When I try to run decodeURIComponent() on the

Solution 1:

Firefox says:

[11:38:39.275] A form was submitted in the ISO-8859-2 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element. @ http://artax.karlin.mff.cuni.cz/~ttel5535/pub/bugs/form_get_submit_non_utf-8/non_utf8_uri_test.html?input=%B9

Post a Comment for "Submit Form With Get Method In Non Utf-8 Encoding"