Encode::Byte - Single Byte Encodings
use Encode qw/encode decode/; $greek = encode("iso-8859-7", $utf8); # loads Encode::Byte implicitly$utf8 = decode("iso-8859-7", $greek); # ditto
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-1is in built-in)iso-8859-2latin2 [ISO]iso-8859-3latin3 [ISO]iso-8859-4latin4 [ISO]iso-8859-5 [ISO]iso-8859-6 [ISO]iso-8859-7 [ISO]iso-8859-8 [ISO]iso-8859-9latin5 [ISO]iso-8859-10latin6 [ISO]iso-8859-11(iso-8859-12 is nonexistent)iso-8859-13 latin7 [ISO]iso-8859-14latin8 [ISO]iso-8859-15latin9 [ISO]iso-8859-16latin10 [ISO]# Cyrillickoi8-fkoi8-r cp878 [RFC1489]koi8-u [RFC2319]# Vietnameseviscii# 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 cp1250WinLatin2cp1251WinCyrilliccp1252WinLatin1cp1253WinGreekcp1254WinTurkishcp1255WinHebrewcp1256WinArabiccp1257WinBalticcp1258WinVietnamese# 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 encodingsAdobeStandardEncodingnextstephp-roman8
To find how to use this module in detail, seeEncode.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.