jQuery UI Livesearch works with English, but don't work with Cyrillic characters - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: jQuery UI Livesearch works with English, but don't work with Cyrillic characters (/showthread.php?tid=68487) |
jQuery UI Livesearch works with English, but don't work with Cyrillic characters - space - 07-18-2017 Hello, I have a problem with jQuery UI Livesearch - it works perfect with English but do not work with Cyrillic - empty array and I have both in my database. I am using CI 3.1.5 and Firebird 1.5. When I using MySql (with like query) table is with charset utf-8 and Collation-utf8_general_ci I have the same problem - English works, Cyrillic don't. Here is my code: My Model: PHP Code: public function get_autocomplete($search_data) My controller: PHP Code: <?php PHP Code: $(".addClient").each(function() { Edit I tried with php without CI and it works. So I must change some CI settings. My database settings: PHP Code: $active_group = 'default'; I tried mb_convert_encoding, iconv, change charset and nothing. The field in the database is win1251. What I am doing wrong? |