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

Re: Problems with UTF-8 in changelog



On Fri, Aug 15, 2003 at 01:56:22PM +0200, Frank Küster wrote:
> I am trying to have my debian/changelog file in utf-8, as required by
> standards-version 3.6.0. However, dpkg-parsechangelog seems not to bee
> able to parse that:
[...]
> frank@alhambra:~/src/Packages/netenv/netenv-0.94.2$ dpkg-parsechangelog | grep ^Maint
> Maintainer: Frank KÃ?ster <frank@alhambra.bioz.unibas.ch>
[...]
> Am I doing something wrong?

Hello,
No. You are just not aware of the fact that dpkg-parsechangelog does
not do any charset conversion, it just dumps the characters on the
terminal.

If you were using a terminal running in UTF-8 mode with an UTF-8 font
(for example uxterm) the dpkg-parsechangelog's output with the
converted changelog would look fine. (The old, unconverted one would
have looked broken, though.)

Open a normal Xterm and an uxterm and compare the results of
printf 'K\374ster\n'
and
printf 'K\374ster\n' | iconv -f ISO-8859-1 -t UTF-8
              cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"



Reply to: