note 111543 added to function.iconv

From: Date: Sat, 02 Mar 2013 08:32:46 +0000
Subject: note 111543 added to function.iconv
Groups: php.notes 
Request: Send a blank email to php-notes+get-193773@lists.php.net to get a copy of this message
Please keep in mind that iconv is not your magic stick by which you can convert anything to your desired encoding sheme. Even if there is encoding declaration for text you're about to manipulate in PHP, there is always chances that there are some characters or character sequences that are in wrong encoding scheme and despite that your browser (for example) is displaying text to you properly. These are situations with so-called mixed encoding. You have to: detect current encoding for your string, repair broken encoding sheme (here I'm struggling with different methods and third-party libraries such as forceutf8 on GitHub), and in last step you can hope to good conversion results. ---- Server IP: 69.147.83.199 Probable Submitter: 37.19.108.9 ---- Manual Page -- http://php.net/manual/en/function.iconv.php Edit -- https://master.php.net/note/edit/111543 Del: integrated -- https://master.php.net/note/delete/111543/integrated Del: useless -- https://master.php.net/note/delete/111543/useless Del: bad code -- https://master.php.net/note/delete/111543/bad+code Del: spam -- https://master.php.net/note/delete/111543/spam Del: non-english -- https://master.php.net/note/delete/111543/non-english Del: in docs -- https://master.php.net/note/delete/111543/in+docs Del: other reasons-- https://master.php.net/note/delete/111543 Reject -- https://master.php.net/note/reject/111543 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193773) next »