Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

encode::arabic::parkinson(3pm) [debian man page]

Encode::Arabic::Parkinson(3pm)				User Contributed Perl Documentation			    Encode::Arabic::Parkinson(3pm)

NAME
Encode::Arabic::Parkinson - Dil Parkinson's transliteration of Arabic REVISION
$Revision: 179 $ $Date: 2007-01-14 01:23:25 +0100 (Sun, 14 Jan 2007) $ SYNOPSIS
use Encode::Arabic::Parkinson; # imports just like 'use Encode' would, plus more while ($line = <>) { # Dil Parkinson's mapping into the Arabic script print encode 'utf8', decode 'parkinson', $line; } # shell filter of data, e.g. in *n*x systems instead of viewing the Arabic script proper % perl -MEncode::Arabic::Parkinson -pe '$_ = encode "parkinson", decode "utf8", $_' # employing the modes of conversion for filtering and trimming Encode::Arabic::enmode 'parkinson', 'nosukuun', 'LWE xml'; Encode::Arabic::Parkinson->demode(undef, undef, 'strip _'); $decode = "AiqoraLo hRvaA Ol_n~a_S~a bi___OnotibaAhI."; $encode = encode 'parkinson', decode 'parkinson', $decode; # $encode eq "AiqraL hRvaA Aln~aS~a biAntibaAhI." DESCRIPTION
Dil Parkinson's notation is a one-to-one transliteration of the Arabic script for Modern Standard Arabic, using lower ASCII characters to encode the graphemes of the original script. IMPLEMENTATION Similar to that in Encode::Arabic::Buckwalter. EXPORTS & MODES The module exports as if "use Encode" also appeared in the package. The other "import" options are just delegated to Encode and imports performed properly. The conversion modes of this module allow to override the setting of the ":xml" option, in addition to filtering out diacritical marks and stripping off kashida. The modes and aliases relate like this: our %Encode::Arabic::Parkinson::modemap = ( 'default' => 0, 'undef' => 0, 'fullvocalize' => 0, 'full' => 0, 'nowasla' => 4, 'vocalize' => 3, 'nosukuun' => 3, 'novocalize' => 2, 'novowels' => 2, 'none' => 2, 'noshadda' => 1, 'noneplus' => 1, ); enmode ($obj, $mode, $xml, $kshd) demode ($obj, $mode, $xml, $kshd) These methods can be invoked directly or through the respective functions of Encode::Arabic. The meaning of the extra parameters follows from the examples of usage. SEE ALSO
Encode::Arabic, Encode, Encode::Encoding Xerox Arabic Home Page <http://www.arabic-morphology.com/> AUTHOR
Otakar Smrz, <http://ufal.mff.cuni.cz/~smrz/> eval { 'E<lt>' . ( join '.', qw 'otakar smrz' ) . "x40" . ( join '.', qw 'mff cuni cz' ) . 'E<gt>' } Perl is also designed to make the easy jobs not that easy ;) COPYRIGHT AND LICENSE
Copyright 2006-2007 by Otakar Smrz This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2010-01-18 Encode::Arabic::Parkinson(3pm)

Check Out this Related Man Page

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

NAME
Encode::CN - China-based Chinese Encodings SYNOPSIS
use Encode qw/encode decode/; $euc_cn = encode("euc-cn", $utf8); # loads Encode::CN implicitly $utf8 = decode("euc-cn", $euc_cn); # ditto DESCRIPTION
This module implements China-based Chinese charset encodings. Encodings supported are as follows. Canonical Alias Description -------------------------------------------------------------------- euc-cn /euc.*cn$/i EUC (Extended Unix Character) /cn.*euc$/i /GB[-_ ]?2312(?:D.*$|$)/i (see below) gb2312-raw The raw (low-bit) GB2312 character map gb12345-raw Traditional chinese counterpart to GB2312 (raw) iso-ir-165 GB2312 + GB6345 + GB8565 + additions MacChineseSimp GB2312 + Apple Additions cp936 Code Page 936, also known as GBK (Extended GuoBiao) hz 7-bit escaped GB2312 encoding -------------------------------------------------------------------- To find how to use this module in detail, see Encode. NOTES
Due to size concerns, "GB 18030" (an extension to "GBK") is distributed separately on CPAN, under the name Encode::HanExtra. That module also contains extra Taiwan-based encodings. BUGS
When you see "charset=gb2312" on mails and web pages, they really mean "euc-cn" encodings. To fix that, "gb2312" is aliased to "euc-cn". Use "gb2312-raw" when you really mean it. The ASCII region (0x00-0x7f) is preserved for all encodings, even though this conflicts with mappings by the Unicode Consortium. See <http://www.debian.or.jp/~kubota/unicode-symbols.html.en> to find out why it is implemented that way. SEE ALSO
Encode perl v5.8.0 2002-06-01 Encode::CN(3pm)
Man Page