convert_accented_characters($str)
Parameters: |
|
---|---|
Returns: |
A string with accented characters converted |
Return type: |
string |
Transliterates high ASCII characters to low ASCII equivalents. Useful when non-English characters need to be used where only standard ASCII characters are safely used, for instance, in URLs.
Example:
$string = convert_accented_characters($string);
Note
This function uses a companion config file application/config/foreign_chars.php
to define the to and from array for transliteration.
Please login to continue.