Re: Issue with UTF8Toisolat1

"Liam R. E. Quin" <[email protected]>
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
On Thu, 2017-04-20 at 09:20 +0000, Stéphane Michaut wrote:
> 
> [...]

> try to read an XML file which contains properly UTF-8 formatted
> character from French accented character (&#xC8; for 'È').
> Since I used isolat1ToUTF8 to write this character to xml file, I
> though I simply have to use UTF8Toisolat1 when reading the file in
> order to retrieve my French character 'È'.
> 
> But it doesn't work well : I am getting a \310 char when I display
> the string out of  UTF8Toisolat1 (all non special characters are well
> retrieved yet).

310 (octal) is the ISO 8859-1 code point for an E with grave accent, so
this is correct.

How are you printing it or inspecting the result to see \310 instead of
È?

Liam


-- 
Liam R. E. Quin <[email protected]>

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.