cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yan, Charlene" <>
Subject RE: jfor encoding problem
Date Mon, 02 Jun 2003 21:19:49 GMT

Thanks for your reply.  You are right that I should have encoding="ISO-8859-1" in the prolog.
 My current xml string doesn't have any declaration in the front.  That's causing the problem.

Thanks again!


-----Original Message-----
From: Conal Tuohy []
Sent: Monday, June 02, 2003 5:05 PM
Subject: RE: jfor encoding problem

Charlene, it looks to me like your problem is not with jfor, but merely with parsing the XML
source file. 

The parser thinks the French text is encoded as UTF-8, but my guess is that it actually uses
ISO-8859-1. You should either open the XML file again and save it in UTF-8 format, or add
an encoding declaration to the start of the file. e.g. <?xml version="1.0" encoding="ISO-8859-1"?>



> -----Original Message-----
> From: Yan, Charlene []
> Sent: Tuesday, 3 June 2003 07:52
> To:
> Subject: jfor encoding problem
> Hi everyone,
> I'm trying to display accented characters correctly using 
> jfor.  However, when I try to run 
> http://localhost:8080/cocoon/samples/jfor/minimal.rtf, it 
> gives the following exception.  I have put some French words 
> such as "Gére" in the xml file.  Looks like it is a parser 
> issue.  Anyone has any experience of this?  Thanks so much 
> for your help!!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message