xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-François El Fouly <jean-franc...@elfouly.fr>
Subject Re: Error when using XSL with French Characters
Date Wed, 03 Sep 2008 12:57:37 GMT
There are four kinds of accent current in French (é è ê ë) so you should 
be more precise.
None of them can possibly correspond to CHR(130) neither in UTF-8 nor in 
ISO-8859-1
On what kind of system/platform/OS are you working ?
Mentioning vi makes me guess it should be some kind of Unix but at the 
same time the encoding used makes this improbable...
I guess more information is needed here.

Steffanina, Jeff a écrit :
> Manuel,
>  
> We create the XML using a version of BASIC.  To create this particular 
> character, we send  CHR(130) to the XML.  When I open the XML in "vi", 
> I see the proper FRENCH symbol.
>  
>  
>
> */Jeff /*
>
>     ------------------------------------------------------------------------
>     *From:* Manuel Mall [mailto:mm@arcus.com.au]
>     *Sent:* Tuesday, September 02, 2008 10:51 PM
>     *To:* 'fop-users@xmlgraphics.apache.org'
>     *Subject:* RE: Error when using XSL with French Characters
>
>     I am suspicious that although you declare the XML file as being in
>     UTF-8 it actually isn't. How do you produce the XML file?
>
>      
>
>     Manuel
>
>      
>
>     ------------------------------------------------------------------------
>
>     *From:* Steffanina, Jeff [mailto:Jeff.Steffanina@marriott.com]
>     *Sent:* Wednesday, 3 September 2008 10:23 AM
>     *To:* fop-users@xmlgraphics.apache.org
>     *Subject:* Error when using XSL with French Characters
>
>      
>
>      
>
>     My Friends,
>     Fop-0.95   My style sheet has been working perfectly.  However,
>     the user submitted some text in French.  In the text was a letter
>     "e" with an accent above it.
>
>     That character caused the following error:
>             Invalid byte 1 of 1-byte UTF-8 sequence.
>
>     My .xml looks fine.   The  "e" with the accent above it is perfect.
>     First line in my XML:
>             <?xml version="1.0" encoding="UTF-8"?>
>
>     Here is the first line of my XSL:
>             <?xml version="1.0" encoding="UTF-8"?>
>
>     I am confused over why the UTF-8 for the XML understands the
>     character but the UTF-8 in the XSL does not?
>
>     I found an article that suggests that the problem would be solved
>     with:
>             <?xml version="1.0" encoding="8859-1"?>
>
>     Would this be a viable/recommended solution?   Do you have a
>     better idea?
>
>      
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message