Accented characters
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody. I have a problem with accented characters: I obtain "realtÃ" when parsing the content "realtá", for example. I also noted that if I try to parse a content like this: "Showroom Devon & Devon", I obtain as output "Devonoom Devon" (the text after & overrides the previous one). I use Expat 2.0.1 on a Gentoo distro, but it gives me the same errors on an embedded ARM system too. I create the parser and then set the encoding this way: p = XML_ParserCreate(NULL); XML_SetEncoding(p, (const XML_Char)"iso-8859-1"); Has anyone a solution? Thanks in advance. Omar ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.