note 118182 deleted from function.utf8-decode by cmb

From: Date: Sun, 04 Dec 2016 12:08:20 +0000
Subject: note 118182 deleted from function.utf8-decode by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208185@lists.php.net to get a copy of this message
Note Submitter: solomon_closson at yahoo dot com ---- Getting rid of all unicode characters in a string seems fairly simple to me using the following: $str = str_replace('?', '', utf8_decode($str)); Not sure why the long, dragged-out functions for this are needed. The above seems to work just fine.

« previous php.notes (#208185) next »