How to print Chinese, Japanese and Korean strings in Codeigniter
Follow the steps
1) In your application/config/config.php
file, update this
'char_set' => 'utf8','dbcollat' => 'utf8_general_ci',
2) If you are displaying data from database, change your database table column collation to utf8_general_ci
.
Change charset in config file as below-
$config['charset'] = 'UTF-8';
to
$config['charset'] = 'utf-8';
If this is not working, use the javascript encodeURI function to encodeURI the data, before u post.