tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <>
Subject Re: UTF8 or sys prop value?
Date Mon, 14 Jun 2004 14:25:20 GMT
Shapira, Yoav wrote:
> Hi,
> I see in StandardServer#storeConfig and MemoryUserDatabase#save that
> we're creating the output writers for server.xml and tomcat-users.xml
> using a hard-coded "UTF8" encoding.

Forcing "UTF8" is not very lucky...It brings me problem with EBCDIC machines and 
tomcat-users.xml, but how to get the encoding of the tomcat-users.xml? (If the 
.xml file contains an encoding we should save it with this encoding and not with 
the system default "java.file.encoding").

> Should we modify this?  Maybe look for the specified java.file.encoding
> system property, and if that's specified, use it, otherwise use UTF* as
> default?
> The reason I'm asking is for
> Yoav Shapira
> Millennium Research Informatics
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message