Search Results
This function converts a Unicode domain name from an IDNA ASCII-compatible format to plain Unicode, encoded in UTF-8.
Execute idn_to_utf8 Online. Info and examples on idn_to_utf8 PHP Function from Internationalization Functions - Human Language and Character Encoding Support
The idn_to_utf8 function in PHP is used to convert a domain name from the Internationalized Domain Name in Applications (IDNA) ASCII format to Unicode. IDNA ASCII format is a way to represent domain names that include non-ASCII characters, such as accented letters or characters from non-Latin scripts.
php operating system manual for idn_to_utf8 section 3 of the unix.com man page documentation.
IDN Functions ¶ Table of Contents ¶ idn_to_ascii — Convert domain name to IDNA ASCII form idn_to_utf8 — Convert domain name from IDNA ASCII to Unicode
IDN Conversion In order to safely translate a domain name into it’s unicode representation and vice versa, we need a tool to correctly report the conversion results. To do so the package provides an enhanced OOP wrapper around PHP’s idn_to_ascii and idn_to_utf8 functions using the League\Uri\Idna\Converter class. With vanilla PHP you have to do the following:
idn_to_utf8 — Convert domain name from IDNA ASCII to Unicode.
