Hi, Andrew.

> -----Original Message-----
> From: Andrew Guts [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 18, 2002 6:36 PM
> 
> Why fmt:formatNumber switches response characher encoding? And how to 
> avoid it?
> My platform is TomCat 4.1.12 on w2k.
> 
As i18n-capable formatting tags in JSTL are requested, 
These tags initially call the javax.servlet.ServletResponse#setLocale() method.
javax.servlet.ServletResponse#setLocale() sets not only the specified locale,
but also the resonse character encoding suitable for it.
The character encoding setting is dependent on the servlet container.

If the container is Tomcat 4, you can modify the following resource,
"org.apache.catalina.util.CharsetMapperDefault.properties" in Catalina APIs.

Regards,

----
Kan Ogawa
[EMAIL PROTECTED]


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

Reply via email to