|
Posted by iktorn on 06/14/07 05:15
jerry@mynetserv.com napisał(a):
> I am trying to use php to remove all unicode from a string. What I am
> seeing it the white question mark with a black diamond. I have tried
> html_entity_decode and preg_replace but had no luck. Any help would be
> greatly appreciated. Thanks!
>
PHP has a couple of built-in functions that might help you:
utf8_decode (decoding to iso-8859-1)
iconv (decode to almost any charset you need, use //IGNORE to decode all
string)
--
Wiktor Walc
http://phpfreelancer.net
Navigation:
[Reply to this message]
|