开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜