Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

Encode::Byte (3)

Name

Encode::Byte - Single Byte Encodings

Synopsis

use Encode qw/encode decode/;
$greek = encode("iso-8859-7", $utf8);  # loads Encode::Byte implicitly
$utf8  = decode("iso-8859-7", $greek); # ditto

Description

Perl Programmers Reference Guide                               Encode::Byte(3)



NAME
       Encode::Byte - Single Byte Encodings

SYNOPSIS
           use Encode qw/encode decode/;
           $greek = encode("iso-8859-7", $utf8);  # loads Encode::Byte implicitly
           $utf8  = decode("iso-8859-7", $greek); # ditto

ABSTRACT
       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
         --------------------------------------------------------------------
         # ISO 8859 series
         (iso-8859-1   is in built-in)
         iso-8859-2    latin2                                       [ISO]
         iso-8859-3    latin3                                       [ISO]
         iso-8859-4    latin4                                       [ISO]
         iso-8859-5                                                 [ISO]
         iso-8859-6                                                 [ISO]
         iso-8859-7                                                 [ISO]
         iso-8859-8                                                 [ISO]
         iso-8859-9    latin5                                       [ISO]
         iso-8859-10   latin6                                       [ISO]
         iso-8859-11
         (iso-8859-12 is nonexistent)
         iso-8859-13   latin7                                       [ISO]
         iso-8859-14   latin8                                       [ISO]
         iso-8859-15   latin9                                       [ISO]
         iso-8859-16   latin10                                      [ISO]

         # Cyrillic
         koi8-f
         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/en-us/library/aa752010%28VS.85%29.aspx>

         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        WinTurkish
         cp1255        WinHebrew
         cp1256        WinArabic
         cp1257        WinBaltic
         cp1258        WinVietnamese

         # Macintosh
         # Also see L<http://developer.apple.com/technotes/tn/tn1150.html>
         MacArabic
         MacCentralEurRoman
         MacCroatian
         MacCyrillic
         MacFarsi
         MacGreek
         MacHebrew
         MacIcelandic
         MacRoman
         MacRomanian
         MacRumanian
         MacSami
         MacThai
         MacTurkish
         MacUkrainian

         # More vendor encodings
         AdobeStandardEncoding
         nextstep
         hp-roman8

DESCRIPTION
       To find how to use this module in detail, see Encode.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+-----------------------+
       |ATTRIBUTE TYPE |   ATTRIBUTE VALUE     |
       +---------------+-----------------------+
       |Availability   | runtime/perl-532      |
       +---------------+-----------------------+
       |Stability      | Pass-through volatile |
       +---------------+-----------------------+

SEE ALSO
       Encode



NOTES
       Source code for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.cpan.org/src/5.0/perl-5.32.0.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.perl.org/.



perl v5.32.0                      2020-06-14                   Encode::Byte(3)