tomcat-taglibs-user mailing list archives

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

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).

Andrew

Kan Ogawa wrote:

>Hi, Andrew.
>
>  
>
>>-----Original Message-----
>>From: Andrew Guts [mailto:andr@fe.ua]
>>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,
>
>  
>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message