I am reading 'Agile Web Development with Rails.3rd'. When finishing the depot application, I input some Chinese character as user name. But I got this error, it seems this has something to do with Ruby1.9
My environment is window xp, Ruby1.9 Rails 2.3.8 and sqlite3.
The following is the detail about this error:
Showing app/views/layouts/store.html.erb where line #43 raised:
incompatible character encodings: ASCII-8BIT and GBK
Extracted source (around line #43):
40: <% if flash[:notice] -%>
41: <%=h flash[:notice] %>
42: <% end -%>
43: <%= yield :layout %>
Anyone can help me resolve this problem ?