public static function normalize($string, $canonicalForm = self::NORMALIZE_NFC)
    {
        if (static::$supportNormalizer) {
            return \Normalizer::normalize($string, $canonicalForm);
        }

        return $string;
    }
public static function normalize($string, $canonicalForm = self::NORMALIZE_NFC)
    {
        if (static::$supportNormalizer) {
            return \Normalizer::normalize($string, $canonicalForm);
        }

        return $string;
    }
public static function normalize ( $ string , $ canonicalForm = self :: NORMALIZE_NFC ) { if ( static :: $ supportNormalizer ) { return \ Normalizer :: normalize ( $ string , $ canonicalForm ) ; } return $ string ; }
normalize an utf8 string to canonical form
Default to NFC

@see https://stackoverflow.com/a/7934397/7630496

@param string $string
@param int    $canonicalForm

@return string
normalize an utf8 string to canonical form Default to NFC