note 88488 added to function.utf8-decode

From: Date: Mon, 26 Jan 2009 20:21:45 +0000
Subject: note 88488 added to function.utf8-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-149801@lists.php.net to get a copy of this message
IMPORTANT: when converting UTF8 data that contains the EURO sign DON'T USE utf_decode function. utf_decode converts the data into ISO-8859-1 charset. But ISO-8859-1 charset does not contain the EURO sign, therefor the EURO sign will be converted into a question mark character '?' In order to convert properly UTF8 data with EURO sign you must use: iconv("UTF-8", "CP1252", $data) ---- Server IP: 213.92.11.19 Probable Submitter: 82.56.18.57 ---- Manual Page -- http://www.php.net/manual/en/function.utf8-decode.php Edit -- https://master.php.net/note/edit/88488 Del: integrated -- https://master.php.net/note/delete/88488/integrated Del: useless -- https://master.php.net/note/delete/88488/useless Del: bad code -- https://master.php.net/note/delete/88488/bad+code Del: spam -- https://master.php.net/note/delete/88488/spam Del: non-english -- https://master.php.net/note/delete/88488/non-english Del: in docs -- https://master.php.net/note/delete/88488/in+docs Del: other reasons-- https://master.php.net/note/delete/88488 Reject -- https://master.php.net/note/reject/88488 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149801) next »