Forum: Ruby on Rails japanese chars output as "?????" or garbage val in rails app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
87303c28b23af9aa69831b6bd156fdb0?d=identicon&s=25 Ruhul Amin (tuhin_cse99)
on 2007-02-21 04:05
Guys,
    In my rails app the japanese chars output as "?????" or garbage
value. I
have searched the forum get some help but I am not clear about the
tropic

I use InstantRails 1.4, In the package mysql version is 4.1.9.

So please help me in the points

0.What will be the mysql(version 4.1.9) collation?  (I used
latin1_swedish_ci)
1. any change in database.yml configuration?
2. What will be the charset in html meta tag?
   suppose I have

   <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    is it right?

Any other changes need? Because I am new in Ruby so can not understand.
thanks.

Amin
This topic is locked and can not be replied to.