Encode::Guess -- Guesses encoding from data

NAME SYNOPSIS ABSTRACT DESCRIPTION CAVEATS TO DO SEE ALSO NAME Encode::Guess -- Guesses encoding from data SYNOPSIS # if you are sure $data won't contain anything bogus use Encode; use Encode::Guess qw/euc-jp shiftjis 7bit-jis/; my $utf8 = decode("Guess", $data); my $data = encode("Guess", $utf8); # this doesn't work! # more elaborate way use Encode::Guess; my $enc = guess_encoding($data, qw/euc-jp shiftjis 7bit-jis/); ref($enc) or die "Can't guess: $enc"; # trap error this way $utf8 = $e

Encode::JP - Japanese Encodings

NAME SYNOPSIS ABSTRACT DESCRIPTION Note on ISO-2022-JP(-1)? BUGS SEE ALSO NAME Encode::JP - Japanese Encodings SYNOPSIS use Encode qw/encode decode/; $euc_jp = encode("euc-jp", $utf8); # loads Encode::JP implicitly $utf8 = decode("euc-jp", $euc_jp); # ditto ABSTRACT This module implements Japanese charset encodings. Encodings supported are as follows. Canonical Alias Description -------------------------------------------------------------------- euc-jp /\beuc.*jp$/i EUC (Extend

Encode::Encoding - Encode Implementation Base Class

NAME SYNOPSIS DESCRIPTIONMethods you should implement Other methods defined in Encode::Encodings Example: Encode::ROT13 Why the heck Encode API is different?Compiled Encodings SEE ALSO NAME Encode::Encoding - Encode Implementation Base Class SYNOPSIS package Encode::MyEncoding; use parent qw(Encode::Encoding); __PACKAGE__->Define(qw(myCanonical myAlias)); DESCRIPTION As mentioned in Encode, encodings are (in the current implementation at least) defined as objects. The mapping of encod

Encode::GSM0338 -- ESTI GSM 03.38 Encoding

NAME SYNOPSIS DESCRIPTION NOTES BUGS SEE ALSO NAME Encode::GSM0338 -- ESTI GSM 03.38 Encoding SYNOPSIS use Encode qw/encode decode/; $gsm0338 = encode("gsm0338", $utf8); # loads Encode::GSM0338 implicitly $utf8 = decode("gsm0338", $gsm0338); # ditto DESCRIPTION GSM0338 is for GSM handsets. Though it shares alphanumerals with ASCII, control character ranges and other parts are mapped very differently, mainly to store Greek characters. There are also escape sequences (starting with 0x1B

Encode::Encoder -- Object Oriented Encoder

NAME SYNOPSIS ABSTRACT DescriptionPredefined Methods Example: base64 transcoder Operator Overloading SEE ALSO NAME Encode::Encoder -- Object Oriented Encoder SYNOPSIS use Encode::Encoder; # Encode::encode("ISO-8859-1", $data); Encode::Encoder->new($data)->iso_8859_1; # OOP way # shortcut use Encode::Encoder qw(encoder); encoder($data)->iso_8859_1; # you can stack them! encoder($data)->iso_8859_1->base64; # provided base64() is defined # you can use it as a decoder as well e

Encode::EBCDIC - EBCDIC Encodings

NAME SYNOPSIS ABSTRACT DESCRIPTION SEE ALSO NAME Encode::EBCDIC - EBCDIC Encodings SYNOPSIS use Encode qw/encode decode/; $posix_bc = encode("posix-bc", $utf8); # loads Encode::EBCDIC implicitly $utf8 = decode("", $posix_bc); # ditto ABSTRACT This module implements various EBCDIC-Based encodings. Encodings supported are as follows. Canonical Alias Description -------------------------------------------------------------------- cp37 cp500 cp875 cp1026 cp1047 posix-bc

Encode::CN::HZ -- internally used by Encode::CN

NAME NAME Encode::CN::HZ -- internally used by Encode::CN

Encode::Config -- internally used by Encode

NAME NAME Encode::Config -- internally used by Encode

Encode::Byte - Single Byte Encodings

NAME SYNOPSIS ABSTRACT DESCRIPTION SEE ALSO 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 ----------------------

Encode::Alias - alias definitions to encodings

NAME SYNOPSIS DESCRIPTIONAlias overloading SEE ALSO NAME Encode::Alias - alias definitions to encodings SYNOPSIS use Encode; use Encode::Alias; define_alias( "newName" => ENCODING); define_alias( qr/.../ => ENCODING); define_alias( sub { return ENCODING if ...; } ); DESCRIPTION Allows newName to be used as an alias for ENCODING. ENCODING may be either the name of an encoding or an encoding object (as described in Encode). Currently the first argument to define_alias() can be specified