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
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---