downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

intl İşlevleri> <idn_to_unicode
[edit] Last updated: Fri, 23 Mar 2012

view this page in

idn_to_utf8

(PHP 5 >= 5.3.0, PECL intl >= 1.0.2, PECL idn >= 0.1)

idn_to_utf8Alan adı kodlamasını IDNA ASCII'den evrenkoda dönüştürür

Açıklama

Procedural style

string idn_to_utf8 ( string $alan [, int $seçenekler ] )

Belirtilen IDNA ASCII kodlamalı Evrenkod alan adını normal Evrenkod kodlamalı alan adına dönüştürür.

Değiştirgeler

alan

Kodlaması Evrenkod'a dönüştürülecek IDNA ASCII kodlu alan adı.

seçenekler

IDNA_* sabitlerinden oluşan dönüşüm seçenekleri.

Dönen Değerler

Evrenkod ile kodlanmış alan adı. PHP5'ta alan adı UTF-8 kodlanır.

Örnekler

Örnek 1 - idn_to_utf8() örneği

<?php

echo idn_to_utf8('xn--tst-qla.de');

?>

Yukarıdaki örneğin çıktısı:

täst.de

Ayrıca Bakınız



add a note add a note User Contributed Notes idn_to_utf8
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites