Actually it was because of Tomcat and Java. I had to pass along 
-Dfile.encoding=UTF-8 and then erverything worked.

Thanks to Guschtel at #cocoon for pointing me in the right direction :)

- Magnus

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bertrand 
Delacretaz
Sent: 8. april 2008 08:50
To: [email protected]
Subject: Re: Cocoon and UTF-8: Invalid byte 2 of 3-byte UTF-8 sequence

On Sun, Apr 6, 2008 at 7:16 PM, Magnus Haraldsen Amundsen
> ... Every time a searchresult/page content etc. contains the norwegian
> characters "æ ø å" I get a org.xml.sax.SAXParseException: Invalid byte 2 of
> 3-byte UTF-8 sequence. This problem does not occur with Linux....

This most probably means at least one of your XML files has a wrong or
missing encoding declaration. Try opening those files in an XML aware
editor, for example, to find out which ones cause problems.

-Bertrand
IMPORTANT NOTICE:
This message may contain confidential information.
If you have received this e-mail in error, do not use, copy or
distribute it. Do not open any attachments. Delete it immediately from
your system and notify the sender promptly by e-mail that you
have done so. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to