clone 391014 -1 clone 391014 -2 reassign -1 python2.4 retitle -1 python email classes do no escape 8bit chars properly reassign -2 python2.5 retitle -2 python email classes do no escape 8bit chars properly block 391014 by -1 block 391014 by -2 thanks
On Fri, Nov 23, 2007 at 10:45:21AM +0000, Wolf Wiegand wrote:
> found 391014 2.75
> thanks
>
> Converting the translations to utf-8 seemingly was not enough, the mail
> subjects still contain wrongly encoded characters. The command
>
> [EMAIL PROTECTED] apt-listchanges -a -f pager --email-address=xxxx foo.deb
>
> results in a mail with this header entry:
>
> Subject: apt-listchanges: Changelogs fXr denkbrett
>
> It should, if I am not mistaken, look like this:
>
> Subject: =?utf-8?q?apt-listchanges=3A_Changelogs_f=C3=BCr_denkbrett?=
Yes, I know this is a pythong bug that I cannot do anything about in a
simple way.
> The additions from the patch above are still necessary to achieve this.
> Suprisingly, the line
>
> subject = subject.decode("iso8859")
>
> still is necessary as well, even though de.po is encoded in utf-8.
That looks surprising, I don't really think it's needed, at least it
works for me here without it (with plain 8bit utf8 chars in the subjects
though which is the python issue, not mine).
--
·O· Pierre Habouzit
··O [EMAIL PROTECTED]
OOO http://www.madism.org
pgpF5qcKz15YU.pgp
Description: PGP signature

