Joe,
Now, for years, I've been wishing that request.getCharacterEncoding() would return correct values, but it never seems to return anything but null. If I'm doing something wrong, please let me know.
You are doing right. What is to be blamed is the web browsers. For whatever reason, no major browsers add charset information in content-type header, as required to do so by HTTP protocol when the encoding is not ISO-8859-1.
Because of this, web applications must know what encoding to expect (which is usually the encoding of the form the application sent out, so not a big problem) and call setCharacterEncoding() to tell the container how to interpret the parameters.
--
KUROSAKA ("Kuro") Teruhiko, San Francisco, California, USA
Internationalization Consultant
http://www.bhlab.com/
+1 415 505-3362 (mobile) / +1 415 641-4562 (home)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
