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

gregor herrmann gregor+debian at comodo.priv.at
Fri Feb 22 16:55:12 UTC 2008


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 bringing this up again, and I agree, letting this bug rot
is a shame ...

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.

Cheers,
gregor
-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Guns N' Roses: Welcome To The Jungle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output_encoding.patch
Type: text/x-diff
Size: 940 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080222/c58722a7/attachment-0001.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmldomencoding.tar.gz
Type: application/octet-stream
Size: 386 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080222/c58722a7/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080222/c58722a7/attachment-0001.pgp 


More information about the pkg-perl-maintainers mailing list