Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

encode::gsm0338(3pm) [osx man page]

Encode::GSM0338(3pm)					 Perl Programmers Reference Guide				      Encode::GSM0338(3pm)

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) to cover e.g. the Euro sign. This was once handled by Encode::Bytes but because of all those unusual specifications, Encode 2.20 has relocated the support to this module. NOTES
Unlike most other encodings, the following aways croaks on error for any $chk that evaluates to true. $gsm0338 = encode("gsm0338", $utf8 $chk); $utf8 = decode("gsm0338", $gsm0338, $chk); So if you want to check the validity of the encoding, surround the expression with "eval {}" block as follows; eval { $utf8 = decode("gsm0338", $gsm0338, $chk); }; if ($@){ # handle exception here } BUGS
ESTI GSM 03.38 Encoding itself. Mapping x00 to '@' causes too much pain everywhere. Its use of x1b (escape) is also very questionable. Because of those two, the code paging approach used use in ucm-based Encoding SOMETIMES fails so this module was written. SEE ALSO
Encode perl v5.16.2 2012-10-25 Encode::GSM0338(3pm)

Check Out this Related Man Page

Encode::GSM0338(3pm)					User Contributed Perl Documentation				      Encode::GSM0338(3pm)

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) to cover e.g. the Euro sign. This was once handled by Encode::Bytes but because of all those unusual specifications, Encode 2.20 has relocated the support to this module. NOTES
Unlike most other encodings, the following aways croaks on error for any $chk that evaluates to true. $gsm0338 = encode("gsm0338", $utf8 $chk); $utf8 = decode("gsm0338", $gsm0338, $chk); So if you want to check the validity of the encoding, surround the expression with "eval {}" block as follows; eval { $utf8 = decode("gsm0338", $gsm0338, $chk); }; if ($@){ # handle exception here } BUGS
ESTI GSM 03.38 Encoding itself. Mapping x00 to '@' causes too much pain everywhere. Its use of x1b (escape) is also very questionable. Because of those two, the code paging approach used use in ucm-based Encoding SOMETIMES fails so this module was written. SEE ALSO
Encode perl v5.14.2 2011-08-09 Encode::GSM0338(3pm)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What are pageouts ?

How and where can I read definition of such terms in unix ? There is a manual on Unix. How can one access it ? -- Sven-Brussels GSM: +32 (0)485/389679 OSX.1.1.5-EntX:iBook-PowerPC G3 500Mhz/128MBRam-AZERTY-Keyboard (1 Reply)
Discussion started by: aertssven
1 Replies

2. Linux

Multiplication with Fractions

Hello there, how do i multiply a fraction and a whole number? Example 20% of 50,000. I had gotten 0.2 using the following: chk=echo 20 100 | awk `{print $1/$2}` echo $chk $chk \* 50000 displays the error: non-numeric expression. (1 Reply)
Discussion started by: alby
1 Replies

3. Red Hat

Set Encode (8B2A)

Hi, I am a linux Newbie, i installed RHEL5 and was trying to activate my ethernet card.When i selected the relevant driver from the list, I am getting an error "set Encode" (8B2A) Error for wireless request. I dont think my network adapter is a wireless network adapter how to overcome this... (1 Reply)
Discussion started by: mitr_ar
1 Replies

4. Shell Programming and Scripting

Encoding conversion in PERL script

I have oracle 9i database installed with UTF-8 Encoding. I want a perl script that converts unicode to utf8 before commiting in database and utf8 to unicode when retreiving from database For example : the word Ïntêrnatïônàlîzâtion has to be stored in database as Internationalization and when retreived... (6 Replies)
Discussion started by: vkca
6 Replies

5. UNIX for Advanced & Expert Users

Converting byte array in c?

My project is based on GSM. Some parameters are represented as bytearray.Can any one tell me wats is the equivalent for it in c (1 Reply)
Discussion started by: carolsanjeevi
1 Replies

6. Shell Programming and Scripting

Automatically UNIX script

Write a unix script to do the following automatically- 1. Identify the latest path version directory under: /data/cs/chk. The latest at this time is 15_1_3. /data/cs/chk … drwxr-x--- 2 dba tms 4096 Jan 22 11:18 15_1_2 drwxr-x--- 2 dba tms 4096 Jan 22 11:18 15_1_3 2. Check for any new... (1 Reply)
Discussion started by: roy1912
1 Replies

7. Shell Programming and Scripting

Controller is not going into IF test

Hi All, I am searching for some files (*.sem and *.chk and *.temp) in morethan one directories. if i found .sem and .chk files(base name should be same) i am deleting these 2 files because i need to delete .chk files if i found respective .sem file i am also deleting other .sem files only... (6 Replies)
Discussion started by: VasuKukkapalli
6 Replies