The problem I am currently facing is that the Chinese characters that
are posted on my site which are encoded with UTF-8 become scrambled for
some reason overnight (I check the next morning). All my pages on the
application are headed with <meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
I attempted to use the solution provided on this page
but it did not fix the problem.

Also, these Chinese characters are details, which I store in a DB2
database which has code set to UTF-8, and are grabbed from the database
when a user visits the page displaying the information. So based on this
I suspect that the problem lies with how the data is grabbed from the
database to the server(just a guess). The versions I am using are:
ruby 1.8.7
rails 1.2.6
mongrel 1.1.3

In my database.yml file the encoding is set to utf8

Posted via

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
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedJan 20, '12 at 9:46p
activeJan 20, '12 at 9:46p

1 user in discussion

Daryn L.: 1 post



site design / logo © 2022 Grokbase