2011-07-15 79 views

回答

1

嘗試設置轉換是Unicode的:

production: #or whatever environment this is about 
    adapter: mysql 
    host: ... 
    username: ... 
    password: ... 
    encoding: utf8 
    collation: utf8_general_ci 
+0

我試過在我的database.yml中設置,但仍然無法正常工作。該視圖將撇號顯示爲小數字的方框。 – oprogfrogo