I'm have a rails project. I'm make following: script/generate scaffold product title:string description:text image_url:string as in book(Agile Web development with Rails) and rake db:migrate. When I'm create a new product, post show as '???'. In file database.yml section encoding is utf8, but in phpmyadmin encoding: latin1_swedish_ci. How to make a migration encoding was in utf8?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| about chinese display | 4 | 586 | August 15, 2007 | |
| undefined method `force_encoding' for "schema_migrations":String | 1 | 155 | September 26, 2010 | |
| incompatible character encodings: ASCII-8BIT and UTF-8 | 46 | 2662 | December 6, 2010 | |
| Japanese support for Rails | 0 | 113 | November 1, 2006 | |
| incompatible character encodings: ASCII-8BIT and UTF-8 | 7 | 2003 | November 20, 2014 |