There is nothing before <?xml.....?> it starts on the first line in the
first column and that's all that is on that line.  I was using ISO-8859-1
because that's what was in all of the tomcat examples.

Mike


----- Original Message -----
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, June 27, 2003 9:27 AM
Subject: RE: Encoding - UTF-16 vs ISO-8859-1



Howdy,
What content was before <?xml ...> ?  Is there a specific (e.g. int'l)
reason you're not using the conventional UTF-8 encoding in the first
place?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Mike Hulse [mailto:[EMAIL PROTECTED]
>Sent: Friday, June 27, 2003 9:25 AM
>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]




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]

Reply via email to