require ‘json’
JSON generator escape all non-ASCII an control characters with \uXXXX
escape
sequences
so my string a = ‘我们’
require ‘json’
JSON generator escape all non-ASCII an control characters with \uXXXX
escape
sequences
so my string a = ‘我们’
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs