Convert Accented Characters to Non-Accented in PHP

Often “in the wild”, even in English texts, you meet both accented versions and non-accented versions of certain words, such as brand names.

You’re then facing two options – you can either work with both versions, or get rid of accents. The latter option bears advantage of cutting down the dimensionality of the problem, as you don’t need to presume that you support all existing versions of the spelling, but how to get there?

Continue reading