note 100707 added to function.strtr

From: Date: Mon, 01 Nov 2010 15:18:58 +0000
Subject: note 100707 added to function.strtr
Groups: php.notes 
Request: Send a blank email to php-notes+get-173659@lists.php.net to get a copy of this message
In reply to sales at mk2solutions dot com, there's a better way to do that :) return iconv('UTF-8', 'ASCII//TRANSLIT', $toClean); Make sure you have the appropriate locale set (see http://php.net/setlocale) and that your input is in UTF-8 (if not, change the first argument, easy!) ---- Server IP: 61.195.146.164 Probable Submitter: 125.175.19.227 ---- Manual Page -- http://www.php.net/manual/en/function.strtr.php Edit -- https://master.php.net/note/edit/100707 Del: integrated -- https://master.php.net/note/delete/100707/integrated Del: useless -- https://master.php.net/note/delete/100707/useless Del: bad code -- https://master.php.net/note/delete/100707/bad+code Del: spam -- https://master.php.net/note/delete/100707/spam Del: non-english -- https://master.php.net/note/delete/100707/non-english Del: in docs -- https://master.php.net/note/delete/100707/in+docs Del: other reasons-- https://master.php.net/note/delete/100707 Reject -- https://master.php.net/note/reject/100707 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173659) next »