WackoWiki: Normalization

https://wackowiki.org/doc     Version: 26.03.2020 08:45

PHP


normalizer_normalize($string, Normalizer::FORM_KD);

normalizer_normalize[link1] — PHP Normalizer class

JS

String.prototype.normalize()

str.normalize('NFC');

String.prototype.normalize()[link2]

Implementation

static function normalize($string, $form = Normalizer::FORM_C)
{
	return normalizer_normalize($string, $form);
}


$tag = Ut::normalize($tag);