©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Locale::canonicalize -- locale_canonicalize — Canonicalize the locale string
$locale
)
本函数还未编写文档,仅有参数列表。
locale
[#1] jerome at chaman dot ca [2015-11-25 03:29:41]
this method performs Level 1 and Level 2 canonicalization according to ICU standards. See http://userguide.icu-project.org/locale#TOC-Canonicalization.
echo \Locale::canonicalize ( 'en-US.utf8' );
// "en_U"
echo \Locale::canonicalize ( 'FR-fr@EURO' );
// "fr_FR@currency=EUR"
echo \Locale::canonicalize ( '' );
// "en_US_POSIX"