This is an old problem. See https://bugzilla.mozilla.org/show_bug.cgi?id=18643
https://bugzilla.mozilla.org/show_bug.cgi?id=7533

Firefox and MSIE use a magic _charset_ paramater, but I can't use it because if I call request.getParamater("_charset_") I can't set the encoding after that!

Anyway it seems firefox (and I assume IE) submit the form in whatever the page encoding was, so for all forms I serve up myself I'll just send the endong to UTF-8 and I'll assume it will come back as UTF-8

Does Tomcat know anything about _charset_ ?

Joseph Shraibman wrote:
Mark Thomas wrote:

       request.setCharacterEncoding("UTF-8");

Is this always safe? For responses I can (and do) check the accept-charset request paramater, but I can't figure out how to tell what the request encoding should be.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to