Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 38558
Status: resolved
Priority: 0/
Queue: Encode

Owner: Nobody in particular
Requestors: rjbs [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Subject: please add unicode-1-1-utf-7 as alias for utf7
Download (untitled) / with headers
text/plain 314b
For some unknown reason, some busted mailers use unicode-1-1-utf-7 as an encoding for utf7. This makes many email-handlers die when they try to use Encode to decode the mime words in the headers. I'd rather not have to use Encode::Alias everywhere all the time. Could this be added as a global aliase? -- rjbs
Download (untitled) / with headers
text/plain 111b
Hey, I was wrong. It isn't busted to do this, it's in an RFC. -- rjbs
Download (untitled) / with headers
text/plain 630b
Added in 2.27. Thanks. --- lib/Encode/ 2008/07/01 20:56:17 2.10 +++ lib/Encode/ 2009/01/21 22:26:18 @@ -135,7 +135,7 @@ define_alias( qr/^(.*)$/ => '"\L$1"' ); # UTF/UCS stuff - define_alias( qr/^UTF-?7$/i => '"UTF-7"' ); + define_alias( qr/^(unicode-1-1-)?UTF-?7$/i => '"UTF-7"' ); define_alias( qr/^UCS-?2-?LE$/i => '"UCS-2LE"' ); define_alias( qr/^UCS-?2-?(BE)?$/i => '"UCS-2BE"', Dan the Encode Maintainer On Mon Aug 18 08:16:59 2008, RJBS wrote: Show quoted text
> Hey, I was wrong. It isn't busted to do this, it's in an RFC. > >

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to