Lines Matching refs:script
4 Locale::Script - ISO codes for script identification (ISO 15924)
11 $script = code2script('ph'); # 'Phoenician'
31 of all script codes or all script names.
84 B<zy>, B<zyy>, and B<998>, are the codes for an undetermined script.
88 B<zz>, B<zzz>, and B<999>, are the codes for an uncoded script.
105 This function takes a script code and returns a string
106 which contains the name of the script identified.
107 If the code is not a valid script code, as defined by ISO 15924,
110 $script = code2script('cy'); # Cyrillic
114 This function takes a script name and returns the corresponding
115 script code, if such exists.
116 If the argument could not be identified as a script name,
122 The case of the script name is not important.
127 This function takes a script code from one code set,
134 If the code passed is not a valid script code in
136 corresponding script in the second code set,
145 or all script names:
151 Returns a list of all two-letter script codes.
157 Returns a list of all script names for which there is a corresponding
158 script code in the specified code set.
167 The user is prompted for a script code, and then told the corresponding
168 script name:
172 print "Enter script code: ";
174 $script = code2script($code, LOCALE_CODE_ALPHA_2);
175 if (defined $script)
177 print "$code = $script\n";
181 print "'$code' is not a valid script code!\n";
191 When using C<script2code()>, the script name must currently appear
202 for script names.