Changeset 30911

Show
Ignore:
Timestamp:
03/07/09 16:47:30 (4 years ago)
Author:
dankogai
Message:

VERSION 2.32

Location:
lang/perl/Encode/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Encode/trunk/Changes

    r30862 r30911  
    11# Revision history for Perl extension Encode. 
    22# 
    3 # $Id: Changes,v 2.31 2009/02/16 06:18:09 dankogai Exp dankogai $ 
     3# $Id: Changes,v 2.32 2009/03/07 07:32:37 dankogai Exp dankogai $ 
    44# 
    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. 
    69! AUTHORS 
    710  added tokuhirom 
  • lang/perl/Encode/trunk/Encode.pm

    r30790 r30911  
    11# 
    2 # $Id: Encode.pm,v 2.31 2009/02/16 06:13:11 dankogai Exp $ 
     2# $Id: Encode.pm,v 2.32 2009/03/07 07:32:37 dankogai Exp dankogai $ 
    33# 
    44package Encode; 
    55use strict; 
    66use warnings; 
    7 our $VERSION = sprintf "%d.%02d", q$Revision: 2.31 $ =~ /(\d+)/g; 
     7our $VERSION = sprintf "%d.%02d", q$Revision: 2.32 $ =~ /(\d+)/g; 
    88sub DEBUG () { 0 } 
    99use XSLoader (); 
  • lang/perl/Encode/trunk/lib/Encode/Alias.pm

    r28811 r30911  
    33use warnings; 
    44no warnings 'redefine'; 
    5 our $VERSION = do { my @r = ( q$Revision: 2.11 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; 
     5our $VERSION = do { my @r = ( q$Revision: 2.12 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; 
    66sub DEBUG () { 0 } 
    77 
     
    257257 
    258258    # utf8 is blessed :) 
    259     define_alias( qr/^UTF-8$/i => '"utf-8-strict"' ); 
     259    define_alias( qr/\bUTF-8$/i => '"utf-8-strict"' ); 
    260260 
    261261    # At last, Map white space and _ to '-' 
  • lang/perl/Encode/trunk/t/Aliases.t

    r15030 r30911  
    2424        'ISO-646-US' => 'ascii', 
    2525        'UTF-8'    => 'utf-8-strict', 
     26        'en_US.UTF-8'    => 'utf-8-strict', 
    2627        'UCS-2'    => 'UCS-2BE', 
    2728        'UCS2'     => 'UCS-2BE',