diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2015-03-14 11:36:15 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-03-14 11:36:15 +0000 |
commit | e455391f6bfb5b4f1211cedb87955a9a94390ab1 (patch) | |
tree | 98d81aa514eb7196ba412e2cd476b58e6e7a6139 /cpan/Encode/lib | |
parent | 89a8cc38d127d16c439eaf29deee39e313953d44 (diff) | |
download | perl-e455391f6bfb5b4f1211cedb87955a9a94390ab1.tar.gz |
Upgrade Encode from version 2.70 to 2.72
This incorporates all current blead customizations.
Diffstat (limited to 'cpan/Encode/lib')
-rw-r--r-- | cpan/Encode/lib/Encode/Alias.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpan/Encode/lib/Encode/Alias.pm b/cpan/Encode/lib/Encode/Alias.pm index 28d3cad34d..c0945be7c8 100644 --- a/cpan/Encode/lib/Encode/Alias.pm +++ b/cpan/Encode/lib/Encode/Alias.pm @@ -2,7 +2,7 @@ package Encode::Alias; use strict; use warnings; no warnings 'redefine'; -our $VERSION = do { my @r = ( q$Revision: 2.18 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; +our $VERSION = do { my @r = ( q$Revision: 2.19 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; use constant DEBUG => !!$ENV{PERL_ENCODE_DEBUG}; use Exporter 'import'; @@ -256,6 +256,10 @@ sub init_aliases { define_alias( qr/\bhk(?:scs)?[-_]?big5$/i => '"big5-hkscs"' ); } + # https://github.com/dankogai/p5-encode/issues/37 + define_alias(qr/cp65000/i => '"UTF-7"'); + define_alias(qr/cp65001/i => '"utf-8-strict"'); + # utf8 is blessed :) define_alias( qr/\bUTF-8$/i => '"utf-8-strict"' ); |