Possible Duplicate:
How to transliterate accented characters into plain ASCII characters?
I have a problem with encoding in PHP, for example i want
Orléans
to be transformed in Orleans
Angoulême
to Angouleme
Ň
to N
... and so on see the table here
http://www.thesauruslex.com/typo/eng/enghtml.htm
Is there a solution to this? And also when the script encounter a non [A-Z] character to make it XML ENTITY.
Thank you!
This is what i needed, why is working so well, yet is so simple ?
Possibly use:
iconv('utf-8', 'ascii//TRANSLIT', $text);
More info here: http://php.net/manual/en/function.iconv.php