Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to convert 'televisión' into 'televisión' (UTF-8 to Latin-1)

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top