W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

charset for

From: Artyem V. Shkondin <art@v-real.spb.su>
Date: Thu, 6 Jul 2000 13:27:30 +0300
Message-ID: <007901bfe734$cade86c0$ac0800c0@vreal.spb.su>
To: <www-jigsaw@w3.org>
Hi all!
Did anybody know how to change default charset ISO-8859-1 to another?
For HttpServletResponse I can change it by method setContentType().
But there is not similar method for HttpServletRequest. As I believe charset
may be changed by useragent if I put <meta http-equiv="Content-Type"
content="text/html; charset=Windows-1251"> in the html file.
When I call method getCharacterEncoding() of class HttpServletRequest
it always return ISO-8859-1. When I use JavaServer Web Development Kit (JSWDK)
1.0.1 it always return null.
Is there an error or there is same way to change charset?


    Sincerely Yours,
Artyem V. Shkondin
  art@v-real.spb.su
Received on Thursday, 6 July 2000 05:27:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT