Re: [fpc-devel] New issue in fcl-xml

2010-01-15 Thread Sergei Gorelkin

Leonardo M. Ramé wrote:

Sorry, I found it now checks the encoding of the XML file. To accept spanish accented chars, I had to 
include  and it worked ok.



The iso-8859-1, utf-8 and utf-16 are the only encodings handled 'natively' (by 
the XMLRead unit).
Any encoding not from this list must be handled by an external decoder. Should 
you ever face this,
refer to http://wiki.freepascal.org/XML_Decoders for details.

Sergei
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] New issue in fcl-xml

2010-01-15 Thread Leonardo M . Ramé
Sorry, I found it now checks the encoding of the XML file. To accept spanish 
accented chars, I had to include  
and it worked ok.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 1/15/10, Leonardo M. Ramé  wrote:

> From: Leonardo M. Ramé 
> Subject: [fpc-devel] New issue in fcl-xml
> To: "FPC developers' list" 
> Date: Friday, January 15, 2010, 12:47 PM
> When the XML file includes accented
> characters, an "Invalid character in input stream" exception
> is raised. Is this correct?, how should I include accented
> chars in an XML file?.
> 
> 
> Leonardo M. Ramé
> http://leonardorame.blogspot.com
> 
> 
> 
> 
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] New issue in fcl-xml

2010-01-15 Thread Leonardo M . Ramé
When the XML file includes accented characters, an "Invalid character in input 
stream" exception is raised. Is this correct?, how should I include accented 
chars in an XML file?.


Leonardo M. Ramé
http://leonardorame.blogspot.com




___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel