Предопределенные константы

INTL_MAX_LOCALE_LEN (integer)
Limit on locale length, set to 64 in PHP code. Locale names longer than this limit will not be accepted.

Коментарии

Автор:
idn_to_ascii('faß.de');

will return fass.de
(Due to Germans using the ß symbol as a contraction of ss)

idn_to_ascii('faß.de', IDNA_NONTRANSITIONAL_TO_ASCII);

will return xn--fa-hia.de
(This is the correct behavior too allow faß.de and fass.de to be registered as different domain names.)

idn_to_utf8('xn--fa-hia.de');

will return fass.de

idn_to_utf8('xn--fa-hia.de', IDNA_NONTRANSITIONAL_TO_UNICODE);

will return faß.de
(Again this is the correct behavior.)
2020-10-03 18:45:22
http://php5.kiev.ua/manual/ru/intl.constants.html
to date (MARCH 2023), the version Spanish not give info about the constant `INTL_ICU_VERSION`, take a look to English version, with details about the important constant `INTL_ICU_VERSION`
2023-03-05 14:12:20
http://php5.kiev.ua/manual/ru/intl.constants.html

    Поддержать сайт на родительском проекте КГБ