tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Guts <>
Subject Re: Why fmt:formatNumber switches response characher encoding?
Date Wed, 18 Dec 2002 13:21:55 GMT

Thanks for your answer. I am a newbie with Tomcat/Java and do not know 
how to do that. By the way it switches to the same locale, but different 
character encoding (my language has at least 4 character encodings).


Kan Ogawa wrote:

>Hi, Andrew.
>>-----Original Message-----
>>From: Andrew Guts []
>>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,
>"" in Catalina APIs.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message