Your message dated Thu, 21 Sep 2017 00:26:45 +0000
with message-id <e1dupkh-0000bq...@fasolo.debian.org>
and subject line Bug#698072: fixed in xml2 0.5-1
has caused the Debian Bug report #698072,
regarding Hard coded ISO-8859-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
698072: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698072
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xml2
Version: 0.4-3.1

The html2 executable generated from this package has a hard coded character set declared as ISO-8859-1.

As follows:

        init(&sax);

        if (1 == argc && !strcmp(name,"html2")) {
                ctxt = htmlCreatePushParserCtxt(&sax,NULL,NULL,0,"stdin",
                                                XML_CHAR_ENCODING_8859_1);
                parseChunk = htmlParseChunk;
                freeCtxt = htmlFreeParserCtxt;
                do_compress_whitespace = 1;
        } else if (1 == argc && !strcmp(name,"xml2")) {
                ctxt = xmlCreatePushParserCtxt(&sax,NULL,NULL,0,"stdin");
                parseChunk = xmlParseChunk;
                freeCtxt = xmlFreeParserCtxt;
                do_ignore_whitespace = 1;

IMO this should now be changed to UTF-8, ie: XML_CHAR_ENCODING_UTF8

Note: A complete solution should probably be to allow the character
set to be chosen from the command line, however, this tiny mod would
be sufficient for a simple workaround using iconv.

--
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                             <http://www.debath.co.uk/>

--- End Message ---
--- Begin Message ---
Source: xml2
Source-Version: 0.5-1

We believe that the bug you reported is fixed in the latest version of
xml2, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 698...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <073p...@gmail.com> (supplier of updated xml2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Sep 2017 22:17:14 +0800
Source: xml2
Binary: xml2
Architecture: source
Version: 0.5-1
Distribution: unstable
Urgency: high
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Boyuan Yang <073p...@gmail.com>
Description:
 xml2       - Convert between XML, HTML, CSV and a line-oriented format
Closes: 506788 506805 698072 754418
Changes:
 xml2 (0.5-1) unstable; urgency=high
 .
   * QA upload.
     + Set maintainer to Debian QA Group.
   * New upstream release, tarball taken from Fedora. (Closes: #754418)
     - Fix corruption when dealing with UTF-8 files. (Closes: #506805)
     - Fix hardcoded ISO-8859-1 encoding. (Closes: #698072)
     - Fix a bug in 2csv.c to avoid a strdup on null pointer.
     - Update include path for libxml2.
     - Changes around autotools.
     - Update usage string for 2csv. (Closes: #506788)
   * Cleanup in packaging system.
     + Set Standards-Version to 4.1.0.
     + Use canonical Vcs URL.
     + Bump debhelper compat and version dependency to v10.
     + Drop dh-autoreconf (not needed in debhelper v10)
     + Use "3.0 (quilt)" as source package format.
   * Drop watch file (dead upstream)
   * Drop all patches, merged upstream.
   * Update README.source description.
Checksums-Sha1:
 7086484799415dbb2087c48d9a3413fd255ec382 1425 xml2_0.5-1.dsc
 e954311383d053747ae0c224b12dfddb8a1c0e74 86318 xml2_0.5.orig.tar.gz
 9ec9ef65313ad1e4d9a332ea6de2bdf7e3ae2105 4228 xml2_0.5-1.debian.tar.xz
 00b365950df7b0ce18160e18083023647dbadfce 5104 xml2_0.5-1_source.buildinfo
Checksums-Sha256:
 09210ce9c36c80ffa45a47591180f53d097aed088407657ab974dc633b3598f1 1425 
xml2_0.5-1.dsc
 e3203a5d3e5d4c634374e229acdbbe03fea41e8ccdef6a594a3ea50a50d29705 86318 
xml2_0.5.orig.tar.gz
 8a044543a8a041bfdab7c8035836d322d5517cf7653400b004d77b471abc1f94 4228 
xml2_0.5-1.debian.tar.xz
 5b47b652b8c53a8e499678aa6bcc3fb6bb1778d32dab0f3d98b192674e70ae37 5104 
xml2_0.5-1_source.buildinfo
Files:
 0006d61a35d71e2e6b9f7171c6a0d0a5 1425 utils optional xml2_0.5-1.dsc
 48eacf64b01ca3a4a5afb1a36f5906e6 86318 utils optional xml2_0.5.orig.tar.gz
 92f96ae7cef4270192323e9cc2b821a5 4228 utils optional xml2_0.5-1.debian.tar.xz
 56cd3404299736a812d7c816361918bc 5104 utils optional 
xml2_0.5-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE/Zzi2Nd1S3irJ5u9LDtDb+rGgQEFAlnC/0MACgkQLDtDb+rG
gQEaFwf/YYYE4QvEOPZLSlVpEE3JgNqWZMHOWKb5Yz/lHPRaD8TV6HCizR79QARG
np33ZkZ9N1GUpWtrCBaZ81TdVjDKiHjJKWmGw+b9BKdg28dnSqb0PR152WJtXT7A
dV34aRKCXmub1PgFLhjdYKlga1DTdxoc9Ac6Equ9EDzhUWg9hHYY2/lg8ZT7OJ3R
817bashlBzAKsqybJl4IujwR551UGkXZxRciMtsmwfjlF8H93lmH5+3Ozm9Kqf82
eapGijGoMqAtUFFCOR1Pt/h233FlbejzWEbvs9DIh2pWL3FHq+87LMeKCM5lplLN
YNxjFMXgLm2qmWz8bhHqICJGbTtccQ==
=yFVp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to