Edit D:\app\Administrator\product\11.2.0\dbhome_1\perl\html\lib\Encode\GSM0338.html
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Encode::GSM0338 -- ESTI GSM 03.38 Encoding</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rev="made" href="mailto:" /> </head> <body style="background-color: white"> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> Encode::GSM0338 -- ESTI GSM 03.38 Encoding</span></strong></big> </td></tr> </table> <!-- INDEX BEGIN --> <div name="index"> <p><a name="__index__"></a></p> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#notes">NOTES</a></li> <li><a href="#bugs">BUGS</a></li> <li><a href="#see_also">SEE ALSO</a></li> </ul> <hr name="index" /> </div> <!-- INDEX END --> <p> </p> <h1><a name="name">NAME</a></h1> <p>Encode::GSM0338 -- ESTI GSM 03.38 Encoding</p> <p> </p> <hr /> <h1><a name="synopsis">SYNOPSIS</a></h1> <pre> use Encode qw/encode decode/; $gsm0338 = encode("gsm0338", $utf8); # loads Encode::GSM0338 implicitly $utf8 = decode("gsm0338", $gsm0338); # ditto</pre> <p> </p> <hr /> <h1><a name="description">DESCRIPTION</a></h1> <p>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) to cover e.g. the Euro sign.</p> <p>This was once handled by <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/Encode/Bytes.html">the Encode::Bytes manpage</a> but because of all those unusual specifications, Encode 2.20 has relocated the support to this module.</p> <p> </p> <hr /> <h1><a name="notes">NOTES</a></h1> <p>Unlike most other encodings, the following aways croaks on error for any $chk that evaluates to true.</p> <pre> $gsm0338 = encode("gsm0338", $utf8 $chk); $utf8 = decode("gsm0338", $gsm0338, $chk);</pre> <p>So if you want to check the validity of the encoding, surround the expression with <a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/pod/perlfunc.html#eval"><code>eval {}</code></a> block as follows;</p> <pre> eval { $utf8 = decode("gsm0338", $gsm0338, $chk); }; if ($@){ # handle exception here }</pre> <p> </p> <hr /> <h1><a name="bugs">BUGS</a></h1> <p>ESTI GSM 03.38 Encoding itself.</p> <p>Mapping \x00 to '@' causes too much pain everywhere.</p> <p>Its use of \x1b (escape) is also very questionable.</p> <p>Because of those two, the code paging approach used use in ucm-based Encoding SOMETIMES fails so this module was written.</p> <p> </p> <hr /> <h1><a name="see_also">SEE ALSO</a></h1> <p><a href="file://C|\ADE\aime_smenon_perl_090715\perl\html/lib/Encode.html">the Encode manpage</a></p> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr><td class="block" style="background-color: #cccccc" valign="middle"> <big><strong><span class="block"> Encode::GSM0338 -- ESTI GSM 03.38 Encoding</span></strong></big> </td></tr> </table> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de