Home » Tag Archives: iconv() detect illegal char in input

Tag Archives: iconv() detect illegal char in input

Codeigniter utf-8 character input data save issue

Codeigniter have utf-8 character input data save issue in some hosting servers like Etisalat. system/core/Utf8.php have function to detect illegal char in input data(post/get). In some cases utf-8 char is consider as illegal and save function will fail. For avoid data saving issue do the following in clean_string() function of Utf8.php at line 85. $str = !mb_detect_encoding($str, 'UTF-8', TRUE) ? ...

Read More »

Codigniter arabic language issue in etisalat hosting server

Codeigniter have utf-8 character input data save issue in some hosting servers like Etisalat. system/core/Utf8.php have function to detect illegal char in input data(post/get). In some cases utf-8 char is consider as illegal and save function will fail. For avoid data saving issue do the following in clean_string() function of Utf8.php at line 85. $str = !mb_detect_encoding($str, 'UTF-8', TRUE) ? ...

Read More »