"Fossies" - the Fresh Open Source Software Archive

Member "install-tl-20200916/tlpkg/tlperl/lib/Encode/Byte.pm" (17 Feb 2011, 2430 Bytes) of package /windows/misc/install-tl.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 package Encode::Byte;
    2 use strict;
    3 use warnings;
    4 use Encode;
    5 our $VERSION = do { my @r = ( q$Revision: 2.4 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
    6 
    7 use XSLoader;
    8 XSLoader::load( __PACKAGE__, $VERSION );
    9 
   10 1;
   11 __END__
   12 
   13 =head1 NAME
   14 
   15 Encode::Byte - Single Byte Encodings
   16 
   17 =head1 SYNOPSIS
   18 
   19     use Encode qw/encode decode/; 
   20     $greek = encode("iso-8859-7", $utf8);  # loads Encode::Byte implicitly
   21     $utf8  = decode("iso-8859-7", $greek); # ditto
   22 
   23 =head1 ABSTRACT
   24 
   25 This module implements various single byte encodings.  For most cases it uses
   26 \x80-\xff (upper half) to map non-ASCII characters.  Encodings
   27 supported are as follows.   
   28 
   29   Canonical      Alias                            Description
   30   --------------------------------------------------------------------
   31   # ISO 8859 series
   32   (iso-8859-1   is in built-in)
   33   iso-8859-2    latin2                       [ISO]
   34   iso-8859-3    latin3                       [ISO]
   35   iso-8859-4    latin4                       [ISO]
   36   iso-8859-5                             [ISO]
   37   iso-8859-6                             [ISO]
   38   iso-8859-7                             [ISO]
   39   iso-8859-8                             [ISO]
   40   iso-8859-9    latin5                       [ISO]
   41   iso-8859-10   latin6                       [ISO]
   42   iso-8859-11
   43   (iso-8859-12 is nonexistent)
   44   iso-8859-13   latin7                       [ISO]
   45   iso-8859-14   latin8                       [ISO]
   46   iso-8859-15   latin9                       [ISO]
   47   iso-8859-16   latin10                      [ISO]
   48 
   49   # Cyrillic
   50   koi8-f                    
   51   koi8-r        cp878                    [RFC1489]
   52   koi8-u                         [RFC2319]
   53 
   54   # Vietnamese
   55   viscii
   56 
   57   # all cp* are also available as ibm-*, ms-*, and windows-*
   58   # also see L<http://msdn.microsoft.com/en-us/library/aa752010%28VS.85%29.aspx>
   59 
   60   cp424  
   61   cp437  
   62   cp737  
   63   cp775  
   64   cp850  
   65   cp852  
   66   cp855  
   67   cp856  
   68   cp857  
   69   cp860  
   70   cp861  
   71   cp862  
   72   cp863  
   73   cp864  
   74   cp865  
   75   cp866  
   76   cp869  
   77   cp874  
   78   cp1006  
   79   cp1250    WinLatin2
   80   cp1251    WinCyrillic
   81   cp1252    WinLatin1
   82   cp1253    WinGreek
   83   cp1254    WinTurkish
   84   cp1255    WinHebrew
   85   cp1256    WinArabic
   86   cp1257    WinBaltic
   87   cp1258    WinVietnamese
   88 
   89   # Macintosh
   90   # Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
   91   MacArabic  
   92   MacCentralEurRoman  
   93   MacCroatian  
   94   MacCyrillic  
   95   MacFarsi  
   96   MacGreek  
   97   MacHebrew  
   98   MacIcelandic  
   99   MacRoman  
  100   MacRomanian  
  101   MacRumanian  
  102   MacSami  
  103   MacThai  
  104   MacTurkish  
  105   MacUkrainian  
  106 
  107   # More vendor encodings
  108   AdobeStandardEncoding
  109   nextstep
  110   hp-roman8
  111 
  112 =head1 DESCRIPTION
  113 
  114 To find how to use this module in detail, see L<Encode>.
  115 
  116 =head1 SEE ALSO
  117 
  118 L<Encode>
  119 
  120 =cut