Page 1 of 1

Help with string encoding

Posted: Sat Oct 27, 2007 4:24 pm
by jasongr
Hi people

I have a string with the following content:

Code: Select all

$buffer = "árboles genealógicos gratis";
Which is the sentence árboles genealógicos gratis encoded (The statement means Genealogy family trees in Spanish)
I am looking for a PHP function that will conver the content of the buffer above to:

Code: Select all

$buffer = "árboles genealógicos gratis";
This is just an example. My input buffer may contain other encoded characters that will also need to be decoded.

any suggestions?

Jason

Posted: Sat Oct 27, 2007 4:37 pm
by feyd
html_entity_decode() or, potentially: viewtopic.php?t=36549&highlight=make%2Autf%2A