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
http://www.artweb-design.de/2007/3/10/server-setup-mistakes-character-encoding
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 http://www.ruby-forum.com/.
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.