In Java 1.3, the default encoding is set to ISO-8859-1 which includes all the German special characters
In Java 1.4, the default encoding is set to ASCII which converts all German special characters to '?' -----Original Message----- From: Mike Hulse [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:25 PM To: Tomcat Users List Subject: Encoding - UTF-16 vs ISO-8859-1 I am using tomcat 4.1.24 and have several webapps running. When I added anoter webapp and I kept getting SEVERE: Parse Fatal Error at line 1 column 44: Content is not allowed in prolog org.xml.sax.SAXParseException: Content is not allowed in prolog. After a little trial and error and a couple of emails I saw on this list I tried changing my web.xml from <?xml version="1.0" encoding="ISO-8859-1"?> to <?xml version="1.0" encoding="UTF-16"?> and everything was fine. All of my other webapps are using ISO-8859-1. I guess what I am asking is there a way to know when I need to one or the other? Mike --------------------------------------------------------------------- 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]
