I use Instant Rails 1.7 to develop this project in windows xp. I
have attached it.How can i make it to display in chinese when i input
“http://localhost:3000/admin/list” in the browser.
Thank you!
I use Instant Rails 1.7 to develop this project in windows xp. I
have attached it.How can i make it to display in chinese when i input
“http://localhost:3000/admin/list” in the browser.
Thank you!
Guo Y. wrote:
I use Instant Rails 1.7 to develop this project in windows xp. I
have attached it.How can i make it to display in chinese when i input
“http://localhost:3000/admin/list” in the browser.
Thank you!Attachments:
http://www.ruby-forum.com/attachment/105/cashmere.rar
See my reply to your other thread here:
http://www.ruby-forum.com/topic/121287#541357
–
Michael W.
Thank you!When i use command “show create database
<database_name>”,the console window show that database’s coding is
“latin1”.Later I added line "encoding: utf8"in my
database.yml,remigrated my three migrations,then console window said:
rake aborted!
Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and
(utf8_g
eneral_ci,COERCIBLE) for operation ‘=’: SELECT * FROM products WHERE
(products.t
itle = ‘白领男’) LIMIT 1
This shows mysql setting is not right.How can i manage it?I am a
fresher to mysql.
Michael W. wrote:
Guo Y. wrote:
I use Instant Rails 1.7 to develop this project in windows xp. I
have attached it.How can i make it to display in chinese when i input
“http://localhost:3000/admin/list” in the browser.
Thank you!Attachments:
http://www.ruby-forum.com/attachment/105/cashmere.rarSee my reply to your other thread here:
About chinese display - Rails - Ruby-Forum
–
Michael W.
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