1.2.531. Iconv With Translit¶
The transliteration feature of iconv() depends on the underlying system to support it.
<?php
$string = iconv('utf-8', 'utf-8//TRANSLIT', $source);
?>
See also iconv().
1.2.531.1. Suggestions¶
Use an OS that supports TRANSLIT with iconv
Remove the usage of TRANSLIT
1.2.531.2. Specs¶
Short name |
Portability/IconvTranslit |
Rulesets |
|
Exakat since |
2.1.6 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Features |
iconv |
Available in |