1.2.535. Iconv With Translit

The transliteration feature of iconv() depends on the underlying system to support it. This feature is also a portability issue.

<?php

$string = iconv('utf-8', 'utf-8//TRANSLIT', $source);

?>

See also iconv().

1.2.535.2. Connex PHP features

1.2.535.2.1. Suggestions

  • Use an OS that supports TRANSLIT with iconv

  • Remove the usage of TRANSLIT

1.2.535.2.2. Specs

Short name

Portability/IconvTranslit

Rulesets

All, Changed Behavior

Exakat since

2.1.6

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

High

Available in

Entreprise Edition, Exakat Cloud