PHP convert accented characters to ascii

0

PHP function to convert national chars into their latin equivalents. For example, convert “Biên Thùy” to “Bien Thuy” or “Höhle” to Hohle. This is usefull function when you want to have friendly url…
So, this is PHP function to replaces special characters in a string with their “non-special” counterpart.

 

How to use:

Result:

Chao mung cac ban ghe tham website cua Bien Thuy. Chuc cac ban vui ve
PHP convert accented characters to ascii
5 - 1192 votes

Comments

Leave A Reply