Jul 20, 2005 #1 cadbilbao Programmer Apr 9, 2001 233 ES Hi. I'm trying to convert UTF-8 texts into Latin-1 ('televisión' into 'televisión'). How can I do it with PHP? I've trying with: $string=str_replace("\xf3","\xd2", $string); Regards.
Hi. I'm trying to convert UTF-8 texts into Latin-1 ('televisión' into 'televisión'). How can I do it with PHP? I've trying with: $string=str_replace("\xf3","\xd2", $string); Regards.
Jul 20, 2005 #2 Dweezel Technical User Feb 12, 2004 428 GB This could be what you're looking for: http://uk.php.net/manual/de/function.utf8-decode.php Upvote 0 Downvote