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 http://issues.apache.org/bugzilla/show_bug.cgi?id=29091.
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]