Hello to all List Readers,

Could you please tell, how HttpServletRequest CharacterEncoding is set?

My JVM has default character encoding set to cp1251, JSP pages are set to be encoded in UTF-8 (by corresponding directives), and it seems that browsers return form data encoded also in UTF-8, but the 'request.getCharacterEncoding()' returns 'null'. Thus, request parameters are not readable. If I manually set 'request.setChararcterEncoding("utf-8")' everything is allright, but still, how can I be sure that request is really coded in UTF-8? and how can 'request.getCharacterEncoding()' be set automatically (ie. Request encoding determined by the browser)?

Thanks in advance

--
Ð ÐÐÐÐÐÐÑ,
ÐÑÐÑÐÑ ÐÐÑÐÑÐ (ÐÐ ÐÐÐÑÑÐÐÑÑÑ) <[EMAIL PROTECTED]>

Victor Anyakin (IT Spetialist) <[EMAIL PROTECTED]>
OpenPGP Key ID:  0xC1F60269
Key Fingerprint: FD67 FE27 0618 9702 9A27  2171 0867 5AC7 C1F6 0269



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to