Re: [libxml++] program crashes when parsing XML with accent



On Tue, May 04, 2004 at 06:10:36PM +0200, Frederik Himpe wrote:

> On Tuesday 04 May 2004 19:28, Murray Cumming wrote:
> 
> > It sounds like it shouldn't crash. So, a simple-as-possible test case in
> > our bugzilla might help us to fix it.
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=141824
> 
> Thanks everybody for the feedback, things have become much clearer now.

Your XML document (as attached to the bug report) has no encoding.

If your XML is in ISO-8859-1 you must identify it as such (default is
UTF-8, anything else must be explicit)

    <xml encoding="ISO-8859-1">

jon

--
"Opinions are like assholes, everybody has one, and most of them are full 
 of shit."  
	- Robert A. Heinlein




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]