This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Must Uppercase.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 17 Sep 2001 23:53:38 +0000 (23:53 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 17 Sep 2001 23:53:38 +0000 (23:53 +0000)
p4raw-id: //depot/perl@12064

ext/Encode/Encode.pm

index ec813f6..2035e20 100644 (file)
@@ -130,7 +130,7 @@ define_alias( qr/^(.+)\@euro$/i => '"$1"' );
 define_alias( qr/^(?:iso[-_]?)?latin[-_]?(\d+)$/i => '"iso-8859-$latin2iso_num[$1]"' );
 
 # Allow winlatin1 style names as well
-define_alias( qr/^win(latin[12]|cyrillic|baltic|greek|turkish|hebrew|arabic|baltic|vietnamese)$/i => '"cp$winlatin2cp{$1}"' );
+define_alias( qr/^win(latin[12]|cyrillic|baltic|greek|turkish|hebrew|arabic|baltic|vietnamese)$/i => '"cp$winlatin2cp{\u$1}"' );
 
 # Common names for non-latin prefered MIME names
 define_alias( 'ascii'    => 'US-ascii',