Hi Conrad, My files are all encoded in UTF-8 because I use TextMate and I double checked on my server with:
$ file --mime-encoding app/views/layout/application.html.erb My layout is defined with an html5 doctype and <meta charset="utf-8">. I tested it with w3c validator and it detects utf-8. Now if I remove the magic comment <%# # -*- coding: UTF-8 -*- %> from application.html.erb and put Encoding.default_internal = Encoding::UTF_8 at the top of environment.rb, I get the following error: => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 [gem_path/activesupport-2.3.8/lib/active_support/vendor/i18n-0.3.7/i18n/backend/base.rb:244:in `read': "\xC3" on US-ASCII (Encoding::InvalidByteSequenceError) It happens with Passenger as well. So you're telling me you managed to fix that? I don't understand how to do it, I nearly tried every trick in the book. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

