You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Hulse <mh...@rmcisdc3.rmc.com> on 2003/06/27 15:24:41 UTC
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org