PHP 7.0.0 RC 1 Released

IDN 関数

目次

  • idn_to_ascii — ドメイン名をIDNAのASCII形式に変換する
  • idn_to_unicode — idn_to_utf8 のエイリアス
  • idn_to_utf8 — IDNAのASCII方式でエンコードされたドメイン名をUnicodeに変換する
add a note add a note

User Contributed Notes 2 notes

up
1
dklabbers at hostingxs dot nl
4 months 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
0
stepanov dot inbox at gmail dot com
2 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