Rails UTF-8 problem

July 9th, 2008

For some reason the UTF-8 content in my database wasn't correctly rendering in the HTML. Turns out that *removing* encoding: utf8 from database.yml fixed the problem. Strange!

1 Response to “Rails UTF-8 problem”

  1. paul Says:
    I was having the same problem and commenting out the encoding line did the trick. Btw found this post via google search for "rails utf-8 problem". Anyway thanks for the fix!

Sorry, comments are closed for this article.