Changeset 1748 for lang/perl/Encode

Show
Ignore:
Timestamp:
11/18/07 19:38:13 (14 months ago)
Author:
dankogai
Message:

ported back from Perl 5.10-RC1

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

Legend:

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

    r1747 r1748  
    44# 
    55$Revision: 2.23 $ $Date: 2007/05/29 18:15:32 $ 
     6! encoding.pm t/mime_header_iso2022jp.t 
     7  ported back from Perl 5.10-RC1 
     8 
     92.23 2007/05/29 18:15:32 
    610! Encode.xs 
    711  got rid of global fallback_cb; encode_method() now takes one more 
  • lang/perl/Encode/trunk/META.yml

    r1747 r1748  
    1 --- #YAML:1.0 
    2 name:                Encode 
    3 version:             2.23 
    4 abstract:            ~ 
    5 license:             ~ 
    6 generated_by:        ExtUtils::MakeMaker version 6.32 
    7 distribution_type:   module 
    8 requires:      
    9 meta-spec: 
    10     url:     http://module-build.sourceforge.net/META-spec-v1.2.html 
    11     version: 1.2 
     1# http://module-build.sourceforge.net/META-spec.html 
     2#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX# 
     3name:         Encode 
     4version:      2.14 
     5version_from: Encode.pm 
     6installdirs:  perl 
     7requires: 
     8 
     9distribution_type: module 
     10generated_by: ExtUtils::MakeMaker version 6.17 
  • lang/perl/Encode/trunk/encoding.pm

    r1747 r1748  
    324324This pragma affects utf8::upgrade, but not utf8::downgrade. 
    325325 
     326=head2 Side effects 
     327 
     328If the C<encoding> pragma is in scope then the lengths returned are 
     329calculated from the length of C<$/> in Unicode characters, which is not 
     330always the same as the length of C<$/> in the native encoding. 
     331 
     332This pragma affects utf8::upgrade, but not utf8::downgrade. 
     333 
    326334=head1 FEATURES THAT REQUIRE 5.8.1 
    327335 
     
    621629Arabic and Hebrew). 
    622630 
     631=item Thread safety 
     632 
     633C<use encoding ...> is not thread-safe (i.e., do not use in threaded 
     634applications). 
     635 
    623636=back 
    624637 
  • lang/perl/Encode/trunk/t/mime_header_iso2022jp.t

    r1747 r1748  
    11 
    2 use Test::More tests => 14; 
     2use Test::More; 
     3 
     4BEGIN { 
     5    if( ord("A") == 193 ) { 
     6        plan skip_all => 'No Encode::MIME::Header::ISO_2022_JP on EBCDIC Platforms'; 
     7    } else { 
     8        plan tests => 14; 
     9    } 
     10} 
    311 
    412use strict;