PHP Velho Oeste 2024

Funções de IDN

Índice

  • idn_to_ascii — Converte nome de domínio para a forma ASCII IDNA
  • idn_to_utf8 — Converte nome de domínio de ASCII IDNA para Unicode
add a note

User Contributed Notes 2 notes

up
2
dklabbers at hostingxs dot nl
8 years ago
In addition to the previous comment, php5-idn has merged into the php5-intl package. Use apt-get install php5-intl on ubuntu to use these idn features.
up
1
stepanov dot inbox at gmail dot com
10 years ago
Keep in mind that a php module is required to use these functions (which may not be present on your shared hosting).

php5-idn - PHP API for the IDNA library (e.g. in Debian/Ubuntu)
To Top