Bug#324882: libxml-dom-perl: ignores encoding on output

2008-03-03 Thread gregor herrmann
On Mon, 03 Mar 2008 01:12:30 -0200, Martín Ferrari wrote: > > getAttribute() is still entities incorrectly, which is where I had > > problems. In UTF-8, even with use utf8, this prints the raw byte 0xE4: > > > > #!/usr/bin/perl; > > use strict; > > use warnings; > > use utf8; > > use XML:

Bug#324882: libxml-dom-perl: ignores encoding on output

2008-03-02 Thread Martín Ferrari
On Sun, Mar 2, 2008 at 11:50 PM, Glenn Maynard <[EMAIL PROTECTED]> wrote: > getAttribute() is still entities incorrectly, which is where I had > problems. In UTF-8, even with use utf8, this prints the raw byte 0xE4: > > #!/usr/bin/perl; > use strict; > use warnings; > use utf8; > use XML

Bug#324882: libxml-dom-perl: ignores encoding on output

2008-03-02 Thread Glenn Maynard
On Fri, Feb 22, 2008 at 05:55:12PM +0100, gregor herrmann wrote: > I've created a tentative patch now which seems to fix the encoding > both for the printToFile() and the toString() funtcions. > > I'm attaching the patch and my testcase, and I'd like to ask for > comments. I'd recommend testing w

Bug#324882: libxml-dom-perl: ignores encoding on output

2008-02-22 Thread gregor herrmann
On Fri, 22 Feb 2008 02:05:27 -0500, Glenn Maynard wrote: > After this module corrupted my output data I just spent an hour trying to > track down what I was doing wrong, since this module supposedly supported > UTF-8. Then, I find that this is a known bug for two and a half years. Thanks for bri

Bug#324882: libxml-dom-perl: ignores encoding on output

2008-02-21 Thread Glenn Maynard
After this module corrupted my output data I just spent an hour trying to track down what I was doing wrong, since this module supposedly supported UTF-8. Then, I find that this is a known bug for two and a half years. If a major bug like this is left lying around for that long, this package is u

Bug#324882: libxml-dom-perl: ignores encoding on output

2005-08-24 Thread David Coles
Package: libxml-dom-perl Version: 1.43-4 Severity: important *** lease type your report below this line *** If an XML file is read and written using XML::DOM such as: ( new XML::DOM::Parser) -> parsefile ('in.xml') -> printToFile ('out.xml') ; with a simple XML file (in.xml) like: ã (not