note 118324 added to function.mb-convert-encoding

From: Date: Tue, 17 Nov 2015 16:25:41 +0000
Subject: note 118324 added to function.mb-convert-encoding
Groups: php.notes 
Request: Send a blank email to php-notes+get-204170@lists.php.net to get a copy of this message
If you are attempting to convert "UTF-8" text to "ISO-8859-1" and the result is always returning in "ASCII", place the following line of code before the mb_convert_encoding: mb_detect_order(array('UTF-8', 'ISO-8859-1')); It is necessary to force a specific search order for the conversion to work ---- Server IP: 72.52.91.14 Probable Submitter: 200.189.118.162 ---- Manual Page -- http://php.net/manual/en/function.mb-convert-encoding.php Edit -- https://master.php.net/note/edit/118324 Del: integrated -- https://master.php.net/note/delete/118324/integrated Del: useless -- https://master.php.net/note/delete/118324/useless Del: bad code -- https://master.php.net/note/delete/118324/bad+code Del: spam -- https://master.php.net/note/delete/118324/spam Del: non-english -- https://master.php.net/note/delete/118324/non-english Del: in docs -- https://master.php.net/note/delete/118324/in+docs Del: other reasons-- https://master.php.net/note/delete/118324 Reject -- https://master.php.net/note/reject/118324 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204170) next »