Changeset 30911
- Timestamp:
- 03/07/09 16:47:30 (4 years ago)
- Location:
- lang/perl/Encode/trunk
- Files:
-
- 4 modified
-
Changes (modified) (1 diff)
-
Encode.pm (modified) (1 diff)
-
lib/Encode/Alias.pm (modified) (2 diffs)
-
t/Aliases.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Encode/trunk/Changes
r30862 r30911 1 1 # Revision history for Perl extension Encode. 2 2 # 3 # $Id: Changes,v 2.3 1 2009/02/16 06:18:09dankogai Exp dankogai $3 # $Id: Changes,v 2.32 2009/03/07 07:32:37 dankogai Exp dankogai $ 4 4 # 5 $Revision: 2.31 $ $Date: 2009/02/16 06:18:09 $ 5 $Revision: 2.32 $ $Date: 2009/03/07 07:32:37 $ 6 ! lib/Encode/Alias.pm t/Alias.t 7 Encode now resolves 'en_US.UTF-8' to utf-8-strict like 'ja_JP.euc' 8 Those who set locale on their shells should be happier now. 6 9 ! AUTHORS 7 10 added tokuhirom -
lang/perl/Encode/trunk/Encode.pm
r30790 r30911 1 1 # 2 # $Id: Encode.pm,v 2.3 1 2009/02/16 06:13:11 dankogai Exp$2 # $Id: Encode.pm,v 2.32 2009/03/07 07:32:37 dankogai Exp dankogai $ 3 3 # 4 4 package Encode; 5 5 use strict; 6 6 use warnings; 7 our $VERSION = sprintf "%d.%02d", q$Revision: 2.3 1$ =~ /(\d+)/g;7 our $VERSION = sprintf "%d.%02d", q$Revision: 2.32 $ =~ /(\d+)/g; 8 8 sub DEBUG () { 0 } 9 9 use XSLoader (); -
lang/perl/Encode/trunk/lib/Encode/Alias.pm
r28811 r30911 3 3 use warnings; 4 4 no warnings 'redefine'; 5 our $VERSION = do { my @r = ( q$Revision: 2.1 1$ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };5 our $VERSION = do { my @r = ( q$Revision: 2.12 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; 6 6 sub DEBUG () { 0 } 7 7 … … 257 257 258 258 # utf8 is blessed :) 259 define_alias( qr/ ^UTF-8$/i => '"utf-8-strict"' );259 define_alias( qr/\bUTF-8$/i => '"utf-8-strict"' ); 260 260 261 261 # At last, Map white space and _ to '-' -
lang/perl/Encode/trunk/t/Aliases.t
r15030 r30911 24 24 'ISO-646-US' => 'ascii', 25 25 'UTF-8' => 'utf-8-strict', 26 'en_US.UTF-8' => 'utf-8-strict', 26 27 'UCS-2' => 'UCS-2BE', 27 28 'UCS2' => 'UCS-2BE',
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)