note 108973 deleted from function.idn-to-ascii by danbrown

From: Date: Fri, 08 Jun 2012 20:16:15 +0000
Subject: note 108973 deleted from function.idn-to-ascii by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188486@lists.php.net to get a copy of this message
Note Submitter: edibleDOTemailATgmailDOTcom ---- Further to my last notes on this function, it is also important to remember only to apply the function where required, eg: idn_to_ascii(cåsino.com) // is wrong ...whereas... iden_to_ascii(cåsino) // is right ...and also be aware of text editors that don't support UTF-8 encoding, or the $domain = 'cåsino' value will end up as $domain = '??????' ...and the function will fail. I have found that Notepad++ easily and reliably handles UTF-8 encoding that works for this function using UTF-8 as the encoding option, not UTF-8 without BOM.

« previous php.notes (#188486) next »