Re: [libxml++] program crashes when parsing XML with accent
- From: Murray Cumming <murrayc murrayc com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [libxml++] program crashes when parsing XML with accent
- Date: Tue, 04 May 2004 16:25:22 +0000
On Tue, 2004-05-04 at 14:13, Frederik Himpe wrote:
> I have an XML document in ISO-8859-1 character set. When using libxml++-2.6,
> the sax pasers crashes when it encounters a character with an accent (é) in
> the on_characters method. I'm using the Glib::ustring class.
Glib::ustring should contain a UTF8 string. It can not recognise your
encoding and convert by itself. I think you need to use some conversion
API such as iconv or the glibmm convert functions.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]