On Mon, 21 Aug 2006 14:44:32 -0500
"Wilder Gonzalez Diaz" <[EMAIL PROTECTED]> wrote:

> This is the xml file I am trying to load

Can you zip it and send it again, too make sure that the special
characters are not converted by the mail client?
When I copy/paste the test below it works. 

Mattias


> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <course title="Nuevo Curso">
>   <lessons>
>     <lesson title="Nueva leccion" main_objective="true">
>       <materials folder="Lesson_0">
>         <material title="vsd fsgre t fhfhfgf j">
>           <description>
>             t erey er yy
> 
>           </description>
>           <filename>calc_clip_small.swf</filename>
>         </material>
>       </materials>
>     </lesson>
>     <lesson title="Nueva lección" main_objective="false">
>       <materials folder="Lesson_1">
>         <material title="adqer 23 532 52">
>           <description>
>             
>           </description>
>           <filename>index.php</filename>
>         </material>
>       </materials>
>     </lesson>
>   </lessons>
>   <exercises />
> </course>
> 
> I am getting an error on line 15, character 31.... That's  in the line
> 
>     <lesson title="Nueva lección" main_objective="false">
> 
> And the character is the 'ó'
> 
> How can I solve this?  I have tried replacing the xml ISO encoding to
> UTF-8 but still having the same problem
> 
> 
> -----Original Message-----
> From: Mattias Gaertner [mailto:[EMAIL PROTECTED] 
> Sent: Monday, August 21, 2006 2:26 PM
> To: [email protected]
> Subject: Re: [lazarus] Xml
> 
> On Mon, 21 Aug 2006 14:13:48 -0500
> "Wilder Gonzalez Diaz" <[EMAIL PROTECTED]> wrote:
> 
> > I am loading xml data using XMLRead unit provided with FCL... But
> > it have encoding problems with tildes... I am working with spanish 
> > language so tildes are required... Does anyone knows how to fix
> > this problems?
> 
> Can you send an example?
> 
> Mattias
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to