[Top][All Lists]

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

Re: Can't reply to bug mailing list

From: Glenn Morris
Subject: Re: Can't reply to bug mailing list
Date: Mon, 12 Jul 2010 01:32:28 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

[ cc and followup-to address@hidden; see start of thread at
http://lists.gnu.org/archive/html/emacs-devel/2010-07/msg00463.html ]

Here is a minimal Perl file showing what happens.

The Debbugs's MIME.pm, with the decode and encode functions, can be
viewed at eg


(I think that is essentially the same as the version in use.)

I guess this is a bug in the encode_rfc1522 function, but I don't
really know anything about encoding, so if anyone has any insight it
would be appreciated.


use strict;
use warnings;

use Debbugs::MIME qw(decode_rfc1522 encode_rfc1522);

my $str = 'address@hidden (Johan =?utf-8?Q?Bockg=C3=A5rd?=)';
my $dec = decode_rfc1522($str);
my $enc = encode_rfc1522($dec);

print $enc, "\n";  # -> address@hidden (Johan =?UTF-8?Q?Bockg=C3=A5rd)?=

reply via email to

[Prev in Thread] Current Thread [Next in Thread]