©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Normalization is a process that involves transforming characters and sequences of characters into a formally-defined underlying representation. This process is most important when text needs to be compared for sorting and searching, but it is also used when storing text to ensure that the text is stored in a consistent representation.
The Unicode Consortium has defined a number of normalization forms reflecting the various needs of applications:
$input
[, int $form
= Normalizer::FORM_C
] )$input
[, int $form
= Normalizer::FORM_C
] )The following constants define the normalization form used by the normalizer:
Normalizer::FORM_C
( integer )
Normalizer::FORM_D
( integer )
Normalizer::FORM_KC
( integer )
Normalizer::FORM_KD
( integer )
Normalizer::NONE
( integer )
Normalizer::OPTION_DEFAULT
( integer )