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

Bug#172752: dpkg-dev: dpkg-buildpackage messes up Description: inUTF-8 locale



Package: dpkg-dev
Version: 1.10.9
Severity: normal


I ahev a package with Description in UTF-8. Until some time ago,
all worked well, dpkg-buildpackage placed the Description verbatim
into debian package. However, I found out now that if I compile the 
package in UTF-8 locale, Description is mangled. It seems that 
the encoding is assumed to be in ISO-8859-1 and is converted into
UTF-8. Of course, since it was already in UTF-8, the result is mojibake.

In 8-bit locales the Description is copied verbatim and all works well.
I guess it has something to do with new perl's UTF-8 capabilities
(as many other bugs already reported)


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux atlas15 2.4.17-grsecurity-1.9.2+xfs+unicodedeadkeys+pspa #2 Thu Sep 19 09:14:19 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8

Versions of packages dpkg-dev depends on:
ii  binutils                  2.13.90.0.10-2 The GNU assembler, linker and bina
ii  cpio                      2.5-1          GNU cpio -- a program to manage ar
ii  make                      3.80-1         The GNU version of the "make" util
ii  patch                     2.5.4-11       Apply a diff file to an original
ii  perl [perl5]              5.8.0-13       Larry Wall's Practical Extraction 
ii  perl-modules              5.8.0-13       Core Perl modules.

-- no debconf information




Reply to: