diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-08-15 07:47:38 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2012-08-15 07:47:38 +0100 |
commit | fd172611d1f859cac8b24983ce0841e6619e37c3 (patch) | |
tree | a7c13445017c8a62e230e27ee96999dfcb7ddf6c /cpan/Encode | |
parent | b9960264f6637c549cca0447e07b24da980f4671 (diff) | |
download | perl-fd172611d1f859cac8b24983ce0841e6619e37c3.tar.gz |
Update Encode to CPAN version 2.47
[DELTA]
$Revision: 2.47 $ $Date: 2012/08/15 05:36:16 $
! Encode.pm
POD Fixes: Copyright and mail address
! Makefile.PL
Added LICENSE => 'perl'
! lib/Encode/GSM0338.pm t/gsm0338.t
REALLY fixed RT#75670: Wrong decoding for GSM 3.38 character \x09
ucm/gsm0338.ucm is dropped from MANIFEST since 2.25
but I was fixing the wrong file!
https://rt.cpan.org/Ticket/Display.html?id=75670
Diffstat (limited to 'cpan/Encode')
-rw-r--r-- | cpan/Encode/Changes | 17 | ||||
-rw-r--r-- | cpan/Encode/Encode.pm | 8 | ||||
-rw-r--r-- | cpan/Encode/META.json | 4 | ||||
-rw-r--r-- | cpan/Encode/META.yml | 4 | ||||
-rw-r--r-- | cpan/Encode/Makefile.PL | 3 | ||||
-rw-r--r-- | cpan/Encode/lib/Encode/GSM0338.pm | 7 | ||||
-rw-r--r-- | cpan/Encode/t/gsm0338.t | 6 |
7 files changed, 33 insertions, 16 deletions
diff --git a/cpan/Encode/Changes b/cpan/Encode/Changes index 6bacb71554..8f8f7df6bd 100644 --- a/cpan/Encode/Changes +++ b/cpan/Encode/Changes @@ -1,12 +1,23 @@ # Revision history for Perl extension Encode. # -# $Id: Changes,v 2.46 2012/08/12 05:49:30 dankogai Exp dankogai $ +# $Id: Changes,v 2.47 2012/08/15 05:36:16 dankogai Exp dankogai $ # -$Revision: 2.46 $ $Date: 2012/08/12 05:49:30 $ +$Revision: 2.47 $ $Date: 2012/08/15 05:36:16 $ +! Encode.pm + POD Fixes: Copyright and mail address +! Makefile.PL + Added LICENSE => 'perl' +! lib/Encode/GSM0338.pm t/gsm0338.t + REALLY fixed RT#75670: Wrong decoding for GSM 3.38 character \x09 + ucm/gsm0338.ucm is dropped from MANIFEST since 2.25 + but I was fixing the wrong file! + https://rt.cpan.org/Ticket/Display.html?id=75670 + +! 2.46 2012/08/12 05:49:30 ! Encode.pm Fixed: RT#78917 for I18N-Charset: Fails with Encode 2.45 To be more exact, 2.45 broke Encode->encodings(':all') - https://rt.cpan.org/Ticket/Bug/Display.html?id=78917 + https://rt.cpan.org/Ticket/Display.html?id=78917 2.45 2012/08/05 23:08:49 ! lib/Encode/Alias.pm diff --git a/cpan/Encode/Encode.pm b/cpan/Encode/Encode.pm index db9cd056ec..ff7e0de17d 100644 --- a/cpan/Encode/Encode.pm +++ b/cpan/Encode/Encode.pm @@ -1,10 +1,10 @@ # -# $Id: Encode.pm,v 2.46 2012/08/12 05:49:30 dankogai Exp dankogai $ +# $Id: Encode.pm,v 2.47 2012/08/15 05:36:16 dankogai Exp dankogai $ # package Encode; use strict; use warnings; -our $VERSION = sprintf "%d.%02d", q$Revision: 2.46 $ =~ /(\d+)/g; +our $VERSION = sprintf "%d.%02d", q$Revision: 2.47 $ =~ /(\d+)/g; use constant DEBUG => !!$ENV{PERL_ENCODE_DEBUG}; use XSLoader (); XSLoader::load( __PACKAGE__, $VERSION ); @@ -1010,7 +1010,7 @@ the Perl Unicode Mailing List L<http://lists.perl.org/list/perl-unicode.html> =head1 MAINTAINER This project was originated by the late Nick Ing-Simmons and later -maintained by Dan Kogai I<< <dankogai@dan.co.jp> >>. See AUTHORS +maintained by Dan Kogai I<< <dankogai@cpan.org> >>. See AUTHORS for a full list of people involved. For any questions, send mail to I<< <perl-unicode@perl.org> >> so that we can all share. @@ -1020,7 +1020,7 @@ who submitted code to the project. =head1 COPYRIGHT -Copyright 2002-2011 Dan Kogai I<< <dankogai@dan.co.jp> >>. +Copyright 2002-2012 Dan Kogai I<< <dankogai@cpan.org> >>. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/cpan/Encode/META.json b/cpan/Encode/META.json index 44e6079b5d..80ef7b7211 100644 --- a/cpan/Encode/META.json +++ b/cpan/Encode/META.json @@ -6,7 +6,7 @@ "dynamic_config" : 1, "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921", "license" : [ - "unknown" + "perl_5" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", @@ -35,5 +35,5 @@ } }, "release_status" : "stable", - "version" : "2.46" + "version" : "2.47" } diff --git a/cpan/Encode/META.yml b/cpan/Encode/META.yml index 0492b90d06..cf556fa4ac 100644 --- a/cpan/Encode/META.yml +++ b/cpan/Encode/META.yml @@ -8,7 +8,7 @@ configure_requires: ExtUtils::MakeMaker: 0 dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120921' -license: unknown +license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: 1.4 @@ -18,4 +18,4 @@ no_index: - t - inc requires: {} -version: 2.46 +version: 2.47 diff --git a/cpan/Encode/Makefile.PL b/cpan/Encode/Makefile.PL index 2db8802c71..f12f02d1ca 100644 --- a/cpan/Encode/Makefile.PL +++ b/cpan/Encode/Makefile.PL @@ -1,5 +1,5 @@ # -# $Id: Makefile.PL,v 2.8 2009/07/08 13:34:15 dankogai Exp $ +# $Id: Makefile.PL,v 2.9 2012/08/15 05:36:16 dankogai Exp dankogai $ # use 5.007003; use strict; @@ -43,6 +43,7 @@ WriteMakefile( DIST_DEFAULT => 'all tardist', }, INC => '-I' . File::Spec->catfile( '.', 'Encode' ), + LICENSE => 'perl', PMLIBDIRS => \@pmlibdirs, INSTALLDIRS => 'perl', ); diff --git a/cpan/Encode/lib/Encode/GSM0338.pm b/cpan/Encode/lib/Encode/GSM0338.pm index 2ea71f2f77..381d5a42f9 100644 --- a/cpan/Encode/lib/Encode/GSM0338.pm +++ b/cpan/Encode/lib/Encode/GSM0338.pm @@ -1,5 +1,5 @@ # -# $Id: GSM0338.pm,v 2.1 2008/05/07 20:56:05 dankogai Exp $ +# $Id: GSM0338.pm,v 2.2 2012/08/15 05:36:16 dankogai Exp dankogai $ # package Encode::GSM0338; @@ -8,7 +8,7 @@ use warnings; use Carp; use vars qw($VERSION); -$VERSION = do { my @r = ( q$Revision: 2.1 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; +$VERSION = do { my @r = ( q$Revision: 2.2 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; use Encode qw(:fallbacks); @@ -138,7 +138,8 @@ our %UNI2GSM = ( "\x{00E4}" => "\x7B", # LATIN SMALL LETTER A WITH DIAERESIS "\x{00E5}" => "\x0F", # LATIN SMALL LETTER A WITH RING ABOVE "\x{00E6}" => "\x1D", # LATIN SMALL LETTER AE - "\x{00E7}" => "\x09", # LATIN SMALL LETTER C WITH CEDILLA + #"\x{00E7}" => "\x09", # LATIN SMALL LETTER C WITH CEDILLA + "\x{00C7}" => "\x09", # LATIN CAPITAL LETTER C WITH CEDILLA "\x{00E8}" => "\x04", # LATIN SMALL LETTER E WITH GRAVE "\x{00E9}" => "\x05", # LATIN SMALL LETTER E WITH ACUTE "\x{00EC}" => "\x07", # LATIN SMALL LETTER I WITH GRAVE diff --git a/cpan/Encode/t/gsm0338.t b/cpan/Encode/t/gsm0338.t index 822ff4fd97..127604b461 100644 --- a/cpan/Encode/t/gsm0338.t +++ b/cpan/Encode/t/gsm0338.t @@ -13,7 +13,7 @@ BEGIN { use strict; use utf8; -use Test::More tests => 778; +use Test::More tests => 780; use Encode; use Encode::GSM0338; @@ -87,6 +87,10 @@ for my $c ( map { chr } 0 .. 127 ) { } } +# https://rt.cpan.org/Ticket/Display.html?id=75670 +is decode("gsm0338", "\x09") => chr(0xC7), 'RT75670: decode'; +is encode("gsm0338", chr(0xC7)) => "\x09", 'RT75670: encode'; + __END__ for my $c (map { chr } 0..127){ my $b = "\x1b$c"; |