problems with utf-8 conversion
| From: | sudhir patil | Date: | Mon, 05 Apr 2010 14:09:23 +0000 |
| Subject: | problems with utf-8 conversion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-303835@lists.php.net to get a copy of this message | ||
I have csv file with special characters, stored in default encoding(ISO-8859-1). I am convert file
contents(string) to UTF-8using iconv. This doesn't convert special characters properly, shows
broken on fronted. Page encoding & meta tag are properly set to utf-8.
Characters are shown properly on frontend if i save file encoding as utf-8(Using notepad). But iconv
doesn't convert characters properly to UTF-8.
$value = iconv("Latin1","utf-8", $value);
having problem with below mentioned character
’ ’ ’ right single quotation mark
Any idea or suggestions to fix this would be helpful.
Thanks in advance,
Sudhir
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/