You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raghuveer <ra...@infotechsw.com> on 2008/03/03 14:27:22 UTC

Encoding at server level - apache-tomcat-5.5.23\conf\web.xml

I need to setup tomcat operating in central European region.

All my Windows Systems Operate on "Polish" /PL language

 

Default encoding

<?xml version="1.0" encoding="ISO-8859-1"?>

 

Modified encoding

 

<?xml version="1.0" encoding="ISO-8859-2"?>

 

 

Clarification 1

 

Does there will be any impact on my other applications if I change default
encoding from "ISO-8859-1" to "ISO-8859-2" in
\apache-tomcat-5.5.23\conf\web.xml

 

 

 


Re: Encoding at server level - apache-tomcat-5.5.23\conf\web.xml

Posted by David Delbecq <de...@oma.be>.
First, that's the encoding used *only* for reading that specific xml 
file. All xml files have such processor directive.

Second, ISO-8859-2 is not a standard java provided encoding. As such, 
you will most probably need to find third party libraries that provide 
that encoding to your jvm (see 
http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html 
for list of officially supported charset in java).

As a response i tend to say, there will be absolutely no impact, 
considering, AFAIK, that this processor directive is not even considered 
by tomcat.

En l'instant précis du 03/03/08 14:27, Raghuveer s'exprimait en ces termes:
> I need to setup tomcat operating in central European region.
>
> All my Windows Systems Operate on "Polish" /PL language
>
>  
>
> Default encoding
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
>  
>
> Modified encoding
>
>  
>
> <?xml version="1.0" encoding="ISO-8859-2"?>
>
>  
>
>  
>
> Clarification 1
>
>  
>
> Does there will be any impact on my other applications if I change default
> encoding from "ISO-8859-1" to "ISO-8859-2" in
> \apache-tomcat-5.5.23\conf\web.xml
>
>  
>
>  
>
>  
>
>
>   


-- 
http://www.devlog.be (a belgian developer's logs)



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org