Can I save in mongodb Hebrew characters?
I work with ruby on rai开发者_JAVA百科ls and want to save in mongodb data with Hebrew characters. How can I do this?
thanks,
MongoDB supports UTF-8 out of the box, which means you simply have to encode your strings into UTF-8. Here's a few links you can peruse:
MongoDB & I18n strings
I18n and rails railscast
and finally,
Encoding strings in Ruby 1.9
精彩评论