[prev in list] [next in list] [prev in thread] [next in thread]
List: taglibs-user
Subject: Re: Why fmt:formatNumber switches response characher encoding?
From: Andrew Guts <andr () fe ! ua>
Date: 2002-12-18 13:21:55
[Download RAW message or body]
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>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic