note 125409 added to intl.constants
| From: | PHPGuru@php.net | Date: | Sat, 03 Oct 2020 15:45:22 +0000 |
| Subject: | note 125409 added to intl.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215524@lists.php.net to get a copy of this message | ||
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.)
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.172 (proxied: 2601:1c0:c804:34d0:918f:2fb5:aeb2:9b82)
----
Manual Page -- http://php.net/manual/en/intl.constants.php
Edit -- https://master.php.net/note/edit/125409
Del: integrated -- https://master.php.net/note/delete/125409/integrated
Del: useless -- https://master.php.net/note/delete/125409/useless
Del: bad code -- https://master.php.net/note/delete/125409/bad+code
Del: spam -- https://master.php.net/note/delete/125409/spam
Del: non-english -- https://master.php.net/note/delete/125409/non-english
Del: in docs -- https://master.php.net/note/delete/125409/in+docs
Del: other reasons-- https://master.php.net/note/delete/125409
Reject -- https://master.php.net/note/reject/125409
Search -- https://master.php.net/manage/user-notes.php