New XS::APItest's for sv_peek based on my DDumper work
[p5sagit/p5-mst-13.2.git] / ext / Encode / Byte / Byte.pm
index af83d00..3ea9035 100644 (file)
@@ -1,9 +1,11 @@
 package Encode::Byte;
+use strict;
+use warnings;
 use Encode;
-our $VERSION = do { my @r = (q$Revision: 1.0 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+our $VERSION = do { my @r = ( q$Revision: 2.3 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
 
 use XSLoader;
-XSLoader::load('Encode::Byte',$VERSION);
+XSLoader::load( __PACKAGE__, $VERSION );
 
 1;
 __END__
@@ -15,8 +17,8 @@ Encode::Byte - Single Byte Encodings
 =head1 SYNOPSIS
 
     use Encode qw/encode decode/; 
-    $latin1 = encode("iso-8859-1", $utf8);   # loads Encode::Byte implicitly
-    $utf8  = decode("iso-8859-1", $latin1);  # ditto
+    $greek = encode("iso-8859-7", $utf8);  # loads Encode::Byte implicitly
+    $utf8  = decode("iso-8859-7", $greek); # ditto
 
 =head1 ABSTRACT
 
@@ -24,7 +26,7 @@ This module implements various single byte encodings.  For most cases it uses
 \x80-\xff (upper half) to map non-ASCII characters.  Encodings
 supported are as follows.   
 
-  Canonical   Alias            Description
+  Canonical      Alias                               Description
   --------------------------------------------------------------------
   # ISO 8859 series
   (iso-8859-1  is in built-in)
@@ -46,19 +48,39 @@ supported are as follows.
 
   # Cyrillic
   koi8-f                                       
-  koi8-r                                                [RFC1489]
+  koi8-r        cp878                                   [RFC1489]
   koi8-u                                                [RFC2319]
 
   # Vietnamese
   viscii
-  
+
   # all cp* are also available as ibm-*, ms-*, and windows-*
   # also see L<http://msdn.microsoft.com/workshop/author/dhtml/reference/charsets/charset4.asp>
+
+  cp424  
+  cp437  
+  cp737  
+  cp775  
+  cp850  
+  cp852  
+  cp855  
+  cp856  
+  cp857  
+  cp860  
+  cp861  
+  cp862  
+  cp863  
+  cp864  
+  cp865  
+  cp866  
+  cp869  
+  cp874  
+  cp1006  
   cp1250       WinLatin2
   cp1251       WinCyrillic
   cp1252       WinLatin1
   cp1253       WinGreek
-  cp1254       WinTurkiskh
+  cp1254       WinTurkish
   cp1255       WinHebrew
   cp1256       WinArabic
   cp1257       WinBaltic
@@ -66,21 +88,25 @@ supported are as follows.
 
   # Macintosh
   # Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
-  MacCentralEurRoman
-  MacCroatian
-  MacRoman
-  MacCyrillic
-  MacRomanian
-  MacSami
-  MacGreek 
-  MacThai
-  MacIcelandic    
-  MacTurkish
-  MacUkrainian
+  MacArabic  
+  MacCentralEurRoman  
+  MacCroatian  
+  MacCyrillic  
+  MacFarsi  
+  MacGreek  
+  MacHebrew  
+  MacIcelandic  
+  MacRoman  
+  MacRomanian  
+  MacRumanian  
+  MacSami  
+  MacThai  
+  MacTurkish  
+  MacUkrainian  
 
   # More vendor encodings
+  AdobeStandardEncoding
   nextstep
-  gsm0338      # used in GSM handsets
   hp-roman8
 
 =head1 DESCRIPTION