jQuery UI Livesearch works with English, but don't work with Cyrillic characters |
07-18-2017, 02:06 AM
(This post was last modified: 07-19-2017, 11:56 PM by space. Edit Reason: Update )
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? |
Welcome Guest, Not a member yet? Register Sign In |