ruby on rails - mongodb unable to create/save double-byte languages -
i have model called review.rb class movienews::review include mongoid::document include mongoid::timestamps include mongoid::userstamp include mongoid::search field :story, type: string end when create instance of class review , tried saving local language telugu in field, im getting wrong output. ex1: review = movienews::review.new review.story = "నటవర్గం" after pasting here it's spelling goes worng "నటవర్.." review.save => true does mongodb supports local languages create collection? please me out. kumar try this review.story = "నటవర్గం\" after pasting here it's spelling goes worng \"నటవర్.." looks breaking both moments when use quotation marks without backslash