PHP Function that Removes Accents, Diacriticals and Special Language Characters for UTF-8 Languages?

Hello,
I currently have found no good way to do this,
a function that completely removes for all languages:
Accents, Diacriticals and Special Language Characters
I have tried the WordPress function (remove_accents() is located in wp-includes/formatting.php)

PHP:

<?php

 

/**

* Converts all accent characters to ASCII characters.

*

* If there are no accent characters, then the string given is just returned.

*

* @since 1.2.1

*

* @param string $string Text that might have accent characters

*…

PHP Function that Removes Accents, Diacriticals and Special Language Characters for UTF-8 Languages?

See original post by chrisnagios

Leave a Reply