Hi all,
Who can help me with problem?
I’m using active scaffold for managing my models, but i get a problem
with standart search when i’m looking for
records that saved in UTF-8 in database.
For example:
I have some models:
name=“igor”
name=“john”
name=“ivan”
name=“ваÑÑ”
name=“анна”
in search field i type symbol = “а”(russian) and i get no results
when i typed symbol “i”(english) i get 2 models - “igor” and “ivan”
This i get at console log(for symbol ‘а’(in russian):
SELECT * FROM ogoloshenyatypes WHERE ((LOWER(ogoloshenyatypes.name
)
LIKE ‘%Р°%’)) LIMIT 0, 15
And “ð” — symbol ‘а’(russian) in database
What to do?
ps:
html page charset - utf-8
database charset - utf-8
ps2:
another example — autocomple for UTF-8 work’s
Thank you for reply