RE: [libxml++] iso-8859-1 encoded characters
- From: Murray Cumming Comneon com
- To: libxmlplusplus-general lists sourceforge net
- Subject: RE: [libxml++] iso-8859-1 encoded characters
- Date: Fri, 6 Jun 2003 15:20:12 +0200
I'd guess the characters are UTF8. The API is all UTF8, though XML files can
be in various codings. I think this is very much a libxml FAQ.
This will be easier in a future version of libxml++ which uses
Glib::ustring.
Murray Cumming
murrayc usa net
www.murrayc.com
> -----Original Message-----
> From: Thomas Jarosch [mailto:thomas jarosch intra2net com]
> Sent: Freitag, 6. Juni 2003 15:13
> To: libxmlplusplus-general lists sourceforge net
> Subject: [libxml++] iso-8859-1 encoded characters
>
>
> Hi!
>
> I'm experiencing a very strange behavior when I try to use
> special iso-8859-1
> characters like the German umlauts. The problem is easily
> reproducebale
> with the dom_parser example program of libxml++.
> Attached is a small testcase to show the problem.
>
> When I use the write_to_string() function, everything is normal.
> The dom_read_write program shows no sign of a problem, too.
> But when you get the content of a node, the umlauts are broken
> and show up as two garbage characters.
> (look at the output of dom_parser example)
>
> Any help is appreciated.
>
> I'm using libxml++-0.23.0 and libxml2-2.5.7.
>
> cheers,
> Thomas
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]