亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? script.html

?? perl教程
?? HTML
字號:
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../../displayToc.js"></script>
<script language="JavaScript" src="../../tocParas.js"></script>
<script language="JavaScript" src="../../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../../scineplex.css">
<title>Locale::Script - ISO codes for script identification</title>
<link rel="stylesheet" href="../../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

<script>writelinks('__top__',2);</script>
<h1><a>Locale::Script - ISO codes for script identification</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<ul>

		<li><a href="#special_codes">SPECIAL CODES</a></li>
	</ul>

	<li><a href="#conversion_routines">CONVERSION ROUTINES</a></li>
	<li><a href="#query_routines">QUERY ROUTINES</a></li>
	<li><a href="#examples">EXAMPLES</a></li>
	<li><a href="#known_bugs_and_limitations">KNOWN BUGS AND LIMITATIONS</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#copyright">COPYRIGHT</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>Locale::Script - ISO codes for script identification (ISO 15924)</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
    <span class="keyword">use</span> <span class="variable">Locale::Script</span><span class="operator">;</span>
    <span class="keyword">use</span> <span class="variable">Locale::Constants</span><span class="operator">;</span>
    
    <span class="variable">$script</span>  <span class="operator">=</span> <span class="variable">code2script</span><span class="operator">(</span><span class="string">'ph'</span><span class="operator">);</span>                       <span class="comment"># 'Phoenician'</span>
    <span class="variable">$code</span>    <span class="operator">=</span> <span class="variable">script2code</span><span class="operator">(</span><span class="string">'Tibetan'</span><span class="operator">);</span>                  <span class="comment"># 'bo'</span>
    <span class="variable">$code3</span>   <span class="operator">=</span> <span class="variable">script2code</span><span class="operator">(</span><span class="string">'Tibetan'</span><span class="operator">,</span>
                           <span class="variable">LOCALE_CODE_ALPHA_3</span><span class="operator">);</span>        <span class="comment"># 'bod'</span>
    <span class="variable">$codeN</span>   <span class="operator">=</span> <span class="variable">script2code</span><span class="operator">(</span><span class="string">'Tibetan'</span><span class="operator">,</span>
                           <span class="variable">LOCALE_CODE_ALPHA_NUMERIC</span><span class="operator">);</span>  <span class="comment"># 330</span>
    
    <span class="variable">@codes</span>   <span class="operator">=</span> <span class="variable">all_script_codes</span><span class="operator">();</span>
    <span class="variable">@scripts</span> <span class="operator">=</span> <span class="variable">all_script_names</span><span class="operator">();</span>
</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>The <code>Locale::Script</code> module provides access to the ISO
codes for identifying scripts, as defined in ISO 15924.
For example, Egyptian hieroglyphs are denoted by the two-letter
code 'eg', the three-letter code 'egy', and the numeric code 050.</p>
<p>You can either access the codes via the conversion routines
(described below), or with the two functions which return lists
of all script codes or all script names.</p>
<p>There are three different code sets you can use for identifying
scripts:</p>
<dl>
<dt><strong><a name="item_alpha_2d2"><strong>alpha-2</strong></a></strong>

<dd>
<p>Two letter codes, such as 'bo' for Tibetan.
This code set is identified with the symbol <code>LOCALE_CODE_ALPHA_2</code>.</p>
</dd>
</li>
<dt><strong><a name="item_alpha_2d3"><strong>alpha-3</strong></a></strong>

<dd>
<p>Three letter codes, such as 'ell' for Greek.
This code set is identified with the symbol <code>LOCALE_CODE_ALPHA_3</code>.</p>
</dd>
</li>
<dt><strong><a name="item_numeric"><strong>numeric</strong></a></strong>

<dd>
<p>Numeric codes, such as 410 for Hiragana.
This code set is identified with the symbol <code>LOCALE_CODE_NUMERIC</code>.</p>
</dd>
</li>
</dl>
<p>All of the routines take an optional additional argument
which specifies the code set to use.
If not specified, it defaults to the two-letter codes.
This is partly for backwards compatibility (previous versions
of Locale modules only supported the alpha-2 codes), and
partly because they are the most widely used codes.</p>
<p>The alpha-2 and alpha-3 codes are not case-dependent,
so you can use 'BO', 'Bo', 'bO' or 'bo' for Tibetan.
When a code is returned by one of the functions in
this module, it will always be lower-case.</p>
<p>
</p>
<h2><a name="special_codes">SPECIAL CODES</a></h2>
<p>The standard defines various special codes.</p>
<ul>
<li>
<p>The standard reserves codes in the ranges <strong>qa</strong> - <strong>qt</strong>,
<strong>qaa</strong> - <strong>qat</strong>, and <strong>900</strong> - <strong>919</strong>, for private use.</p>
</li>
<li>
<p><strong>zx</strong>, <strong>zxx</strong>, and <strong>997</strong>, are the codes for unwritten languages.</p>
</li>
<li>
<p><strong>zy</strong>, <strong>zyy</strong>, and <strong>998</strong>, are the codes for an undetermined script.</p>
</li>
<li>
<p><strong>zz</strong>, <strong>zzz</strong>, and <strong>999</strong>, are the codes for an uncoded script.</p>
</li>
</ul>
<p>The private codes are not recognised by Locale::Script,
but the others are.</p>
<p>
</p>
<hr />
<h1><a name="conversion_routines">CONVERSION ROUTINES</a></h1>
<p>There are three conversion routines: <a href="#item_code2script"><code>code2script()</code></a>, <a href="#item_script2code"><code>script2code()</code></a>,
and <a href="#item_script_code2code"><code>script_code2code()</code></a>.</p>
<dl>
<dt><strong><a name="item_code2script">code2script( CODE, [ CODESET ] )</a></strong>

<dd>
<p>This function takes a script code and returns a string
which contains the name of the script identified.
If the code is not a valid script code, as defined by ISO 15924,
then <a href="../../lib/Pod/perlfunc.html#item_undef"><code>undef</code></a> will be returned:</p>
</dd>
<dd>
<pre>
    <span class="variable">$script</span> <span class="operator">=</span> <span class="variable">code2script</span><span class="operator">(</span><span class="string">'cy'</span><span class="operator">);</span>   <span class="comment"># Cyrillic</span>
</pre>
</dd>
</li>
<dt><strong><a name="item_script2code">script2code( STRING, [ CODESET ] )</a></strong>

<dd>
<p>This function takes a script name and returns the corresponding
script code, if such exists.
If the argument could not be identified as a script name,
then <a href="../../lib/Pod/perlfunc.html#item_undef"><code>undef</code></a> will be returned:</p>
</dd>
<dd>
<pre>
    <span class="variable">$code</span> <span class="operator">=</span> <span class="variable">script2code</span><span class="operator">(</span><span class="string">'Gothic'</span><span class="operator">,</span> <span class="variable">LOCALE_CODE_ALPHA_3</span><span class="operator">);</span>
    <span class="comment"># $code will now be 'gth'</span>
</pre>
</dd>
<dd>
<p>The case of the script name is not important.
See the section <a href="#known_bugs_and_limitations">KNOWN BUGS AND LIMITATIONS</a> below.</p>
</dd>
</li>
<dt><strong><a name="item_script_code2code">script_code2code( CODE, CODESET, CODESET )</a></strong>

<dd>
<p>This function takes a script code from one code set,
and returns the corresponding code from another code set.</p>
</dd>
<dd>
<pre>
    <span class="variable">$alpha2</span> <span class="operator">=</span> <span class="variable">script_code2code</span><span class="operator">(</span><span class="string">'jwi'</span><span class="operator">,</span>
                 <span class="string">LOCALE_CODE_ALPHA_3</span> <span class="operator">=&gt;</span> <span class="variable">LOCALE_CODE_ALPHA_2</span><span class="operator">);</span>
    <span class="comment"># $alpha2 will now be 'jw' (Javanese)</span>
</pre>
</dd>
<dd>
<p>If the code passed is not a valid script code in
the first code set, or if there isn't a code for the
corresponding script in the second code set,
then <a href="../../lib/Pod/perlfunc.html#item_undef"><code>undef</code></a> will be returned.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="query_routines">QUERY ROUTINES</a></h1>
<p>There are two function which can be used to obtain a list of all codes,
or all script names:</p>
<dl>
<dt><strong><a name="item_all_script_codes"><code>all_script_codes ( [ CODESET ] )</code></a></strong>

<dd>
<p>Returns a list of all two-letter script codes.
The codes are guaranteed to be all lower-case,
and not in any particular order.</p>
</dd>
</li>
<dt><strong><a name="item_all_script_names"><code>all_script_names ( [ CODESET ] )</code></a></strong>

<dd>
<p>Returns a list of all script names for which there is a corresponding
script code in the specified code set.
The names are capitalised, and not returned in any particular order.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="examples">EXAMPLES</a></h1>
<p>The following example illustrates use of the <a href="#item_code2script"><code>code2script()</code></a> function.
The user is prompted for a script code, and then told the corresponding
script name:</p>
<pre>
    <span class="variable">$|</span> <span class="operator">=</span> <span class="number">1</span><span class="operator">;</span>   <span class="comment"># turn off buffering</span>
    
    <span class="keyword">print</span> <span class="string">"Enter script code: "</span><span class="operator">;</span>
    <span class="keyword">chop</span><span class="operator">(</span><span class="variable">$code</span> <span class="operator">=</span> <span class="operator">&lt;</span><span class="variable">STDIN</span><span class="operator">&gt;);</span>
    <span class="variable">$script</span> <span class="operator">=</span> <span class="variable">code2script</span><span class="operator">(</span><span class="variable">$code</span><span class="operator">,</span> <span class="variable">LOCALE_CODE_ALPHA_2</span><span class="operator">);</span>
    <span class="keyword">if</span> <span class="operator">(</span><span class="keyword">defined</span> <span class="variable">$script</span><span class="operator">)</span>
    <span class="operator">{</span>
        <span class="keyword">print</span> <span class="string">"$code = $script\n"</span><span class="operator">;</span>
    <span class="operator">}</span>
    <span class="keyword">else</span>
    <span class="operator">{</span>
        <span class="keyword">print</span> <span class="string">"'$code' is not a valid script code!\n"</span><span class="operator">;</span>
    <span class="operator">}</span>
</pre>
<p>
</p>
<hr />
<h1><a name="known_bugs_and_limitations">KNOWN BUGS AND LIMITATIONS</a></h1>
<ul>
<li>
<p>When using <a href="#item_script2code"><code>script2code()</code></a>, the script name must currently appear
exactly as it does in the source of the module. For example,</p>
<pre>
    script2code('Egyptian hieroglyphs')</pre>
<p>will return <strong>eg</strong>, as expected. But the following will all return <a href="../../lib/Pod/perlfunc.html#item_undef"><code>undef</code></a>:</p>
<pre>
    script2code('hieroglyphs')
    script2code('Egyptian Hieroglypics')</pre>
<p>If there's need for it, a future version could have variants
for script names.</p>
</li>
<li>
<p>In the current implementation, all data is read in when the
module is loaded, and then held in memory.
A lazy implementation would be more memory friendly.</p>
</li>
</ul>
<p>
</p>
<hr />
<h1><a name="see_also">SEE ALSO</a></h1>
<dl>
<dt><strong><a name="item_locale_3a_3alanguage">Locale::Language</a></strong>

<dd>
<p>ISO two letter codes for identification of language (ISO 639).</p>
</dd>
</li>
<dt><strong><a name="item_locale_3a_3acurrency">Locale::Currency</a></strong>

<dd>
<p>ISO three letter codes for identification of currencies
and funds (ISO 4217).</p>
</dd>
</li>
<dt><strong><a name="item_locale_3a_3acountry">Locale::Country</a></strong>

<dd>
<p>ISO three letter codes for identification of countries (ISO 3166)</p>
</dd>
</li>
<dt><strong><a name="item_iso_15924">ISO 15924</a></strong>

<dd>
<p>The ISO standard which defines these codes.</p>
</dd>
</li>
<dt><strong><a name="item_http_3a_2f_2fwww_2eevertype_2ecom_2fstandards_2fis"><a href="http://www.evertype.com/standards/iso15924/">http://www.evertype.com/standards/iso15924/</a></a></strong>

<dd>
<p>Home page for ISO 15924.</p>
</dd>
</li>
</dl>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Neil Bowers &lt;<a href="mailto:neil@bowers.com">neil@bowers.com</a>&gt;</p>
<p>
</p>
<hr />
<h1><a name="copyright">COPYRIGHT</a></h1>
<p>Copyright (c) 2002-2004 Neil Bowers.</p>
<p>This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.</p>

</body>

</html>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本不卡一区二区| 日本va欧美va欧美va精品| 91精品国产综合久久久久久| 国产98色在线|日韩| 亚洲成人www| 亚洲午夜免费视频| 中文字幕+乱码+中文字幕一区| 91精品婷婷国产综合久久性色 | 国产一区二区伦理| 日日夜夜精品视频免费| 亚洲柠檬福利资源导航| 国产亚洲一二三区| 国产亚洲自拍一区| 久久蜜桃一区二区| 亚洲人成在线播放网站岛国| jizz一区二区| 成人av在线电影| 成人爱爱电影网址| 久久久精品人体av艺术| 精品国产乱码久久久久久1区2区| 91精品国产91久久久久久一区二区 | 久久99国产精品麻豆| 97精品电影院| 国产精品久久毛片a| 久久精品国产亚洲5555| 欧美日韩一区高清| 亚洲精品免费一二三区| 国产91精品精华液一区二区三区| 91精品国产日韩91久久久久久| 亚洲同性gay激情无套| 蜜臀av性久久久久蜜臀aⅴ流畅 | 成人综合日日夜夜| 2020国产精品| 另类小说欧美激情| 日韩一区二区在线观看视频| 亚洲成人动漫在线观看| 一本久久a久久免费精品不卡| 国产色91在线| 成人激情小说乱人伦| 中文字幕国产一区二区| 粉嫩av一区二区三区| 国产三级精品视频| 丁香五精品蜜臀久久久久99网站| 国产欧美在线观看一区| 国产精品中文字幕日韩精品 | 国产日韩欧美一区二区三区乱码| 久久99精品一区二区三区 | 日韩女优电影在线观看| 久久精品国产99久久6| 日韩三级视频中文字幕| 国产真实乱子伦精品视频| 久久众筹精品私拍模特| www.亚洲人| 亚洲综合在线免费观看| 欧美日韩成人综合在线一区二区| 婷婷国产v国产偷v亚洲高清| 日韩一卡二卡三卡国产欧美| 国产在线播精品第三| 18欧美亚洲精品| 欧美日韩久久一区| 精品一二线国产| 国产精品日韩精品欧美在线| 色又黄又爽网站www久久| 日韩精品欧美精品| 国产色产综合色产在线视频| 色哟哟精品一区| 捆绑调教一区二区三区| 亚洲人成网站在线| 亚洲精品一区二区三区福利| 色婷婷一区二区| 国产在线观看免费一区| 亚洲一区二区在线免费看| 久久影视一区二区| 欧美日韩情趣电影| 不卡在线视频中文字幕| 蜜臀国产一区二区三区在线播放| 亚洲国产成人在线| 精品少妇一区二区| 欧美自拍丝袜亚洲| 国产aⅴ精品一区二区三区色成熟| 午夜精品久久久久久久久久久| 国产精品乱码久久久久久| 日韩一区二区三区精品视频| 色美美综合视频| 成人小视频免费观看| 激情久久五月天| 蜜桃在线一区二区三区| 视频一区欧美精品| 亚洲一区在线播放| 一区二区日韩av| 亚洲自拍偷拍麻豆| 亚洲一区免费观看| 亚洲午夜一区二区| 亚洲6080在线| 日精品一区二区三区| 日韩国产高清在线| 热久久免费视频| 精一区二区三区| 国产福利电影一区二区三区| 麻豆91精品视频| 久久成人免费日本黄色| 国产精品自拍毛片| 成人精品国产一区二区4080| 成人一区二区三区视频在线观看| 国产精品一区二区久久精品爱涩| 国产成都精品91一区二区三| 国产91露脸合集magnet | 成人免费av在线| 91蜜桃婷婷狠狠久久综合9色| 91日韩在线专区| 欧美一区二区三区四区在线观看| 精品女同一区二区| 亚洲欧洲一区二区三区| 亚洲一区二区三区激情| 激情五月激情综合网| 成人午夜激情在线| 91传媒视频在线播放| 日韩三级免费观看| 中文字幕欧美日本乱码一线二线| 亚洲美腿欧美偷拍| 国产中文一区二区三区| 欧美做爰猛烈大尺度电影无法无天| 欧美日韩国产综合久久 | 91精彩视频在线| 精品乱码亚洲一区二区不卡| 国产精品久久久久国产精品日日| 亚洲成人动漫精品| 99v久久综合狠狠综合久久| 欧美精品久久久久久久多人混战| 日本一区二区三区四区| 午夜影视日本亚洲欧洲精品| 国产suv一区二区三区88区| 日韩视频免费观看高清完整版| 亚洲三级在线观看| 不卡的看片网站| 欧美成人精品1314www| 亚洲18女电影在线观看| 成+人+亚洲+综合天堂| 久久一二三国产| 久久精品国产久精国产爱| 欧美三片在线视频观看| 亚洲精品国产无套在线观| 国产乱人伦偷精品视频不卡| 欧美一区二区三级| 亚洲不卡av一区二区三区| 色综合久久88色综合天天免费| 国产丝袜欧美中文另类| 国产精品一线二线三线精华| 日韩一区二区中文字幕| 日韩福利视频导航| 日韩视频免费观看高清完整版在线观看 | 欧美成人vr18sexvr| 精品一区二区三区在线观看| 91精品国产黑色紧身裤美女| 亚洲成人7777| 91精品在线免费| 久久99精品久久久久久国产越南| 欧美一区二区三区在线电影 | 免费在线一区观看| 日韩精品一区二区三区中文精品| 天天av天天翘天天综合网色鬼国产| 欧洲一区二区三区在线| 日韩精品一二三区| 精品国产精品网麻豆系列| 国产激情精品久久久第一区二区| 国产女同互慰高潮91漫画| 91啪在线观看| 日韩综合一区二区| 国产欧美久久久精品影院| 91丨国产丨九色丨pron| 亚洲综合在线观看视频| 日韩欧美一二三| 成人av小说网| 男人操女人的视频在线观看欧美| 精品美女一区二区| 在线观看网站黄不卡| 久久精品久久综合| 亚洲激情中文1区| 亚洲精品一区二区三区在线观看| 99re这里只有精品首页| 日韩国产精品91| 亚洲黄一区二区三区| xfplay精品久久| 欧美在线一二三四区| 国产一区二区在线观看视频| 夜夜嗨av一区二区三区网页 | 激情深爱一区二区| 亚洲国产综合人成综合网站| 久久精品夜色噜噜亚洲aⅴ| 欧美综合色免费| 99久久99久久综合| 国产大片一区二区| 久久99精品视频| 日韩国产欧美视频| 亚洲123区在线观看| 一区二区三区小说| 国产精品免费免费| 国产精品视频第一区| 久久综合九色综合97_久久久| 欧美一区二区三区在线观看|