diff options
Diffstat (limited to 'Master/tlpkg/tlperl/lib/Locale/Script.pod')
-rw-r--r-- | Master/tlpkg/tlperl/lib/Locale/Script.pod | 35 |
1 files changed, 24 insertions, 11 deletions
diff --git a/Master/tlpkg/tlperl/lib/Locale/Script.pod b/Master/tlpkg/tlperl/lib/Locale/Script.pod index c4c9d745bfe..0afb533601e 100644 --- a/Master/tlpkg/tlperl/lib/Locale/Script.pod +++ b/Master/tlpkg/tlperl/lib/Locale/Script.pod @@ -28,28 +28,33 @@ specifies the code set to use. If not specified, the default ISO =head1 SUPPORTED CODE SETS There are several different code sets you can use for identifying -scripts. The ones currently supported are: +scripts. A code set may be specified using either a name, or a +constant that is automatically exported by this module. + +For example, the two are equivalent: + + $script = code2script('phnx','alpha'); + $script = code2script('phnx',LOCALE_SCRIPT_ALPHA); + +The codesets currently supported are: =over 4 -=item B<alpha> +=item B<alpha, LOCALE_SCRIPT_ALPHA> This is a set of four-letter (capitalized) codes from ISO 15924 -such as 'Phnx' for Phoenician. - -This code set is identified with the symbol C<LOCALE_SCRIPT_ALPHA>. +such as 'Phnx' for Phoenician. It also includes additions to this +set included in the IANA language registry. The Zxxx, Zyyy, and Zzzz codes are not used. This is the default code set. -=item B<numeric> +=item B<num, LOCALE_SCRIPT_NUMERIC> This is a set of three-digit numeric codes from ISO 15924 such as 115 for Phoenician. -This code set is identified with the symbol C<LOCALE_SCRIPT_NUMERIC>. - =back =head1 ROUTINES @@ -82,7 +87,7 @@ This code set is identified with the symbol C<LOCALE_SCRIPT_NUMERIC>. =item B<Locale::Script::delete_script_code_alias ( CODE [,CODESET] )> -These routines are all documented in the Locale::Codes man page. +These routines are all documented in the Locale::Codes::API man page. =back @@ -92,12 +97,20 @@ These routines are all documented in the Locale::Codes man page. =item B<Locale::Codes> -=item B<Locale::Constants> +The Locale-Codes distribution. + +=item B<Locale::Codes::API> + +The list of functions supported by this module. =item B<http://www.unicode.org/iso15924/> Home page for ISO 15924. +=item B<http://www.iana.org/assignments/language-subtag-registry> + +The IANA language subtag registry. + =back =head1 AUTHOR @@ -110,7 +123,7 @@ Currently maintained by Sullivan Beck (sbeck@cpan.org). Copyright (c) 1997-2001 Canon Research Centre Europe (CRE). Copyright (c) 2001-2010 Neil Bowers - Copyright (c) 2010-2011 Sullivan Beck + Copyright (c) 2010-2012 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |