Broken Umlauts (ÄÖÜäöüß) since Update on Rails 1.2.1

Dear group-members,

I´m a little frustrated, since I have updated on Rails 1.2.1:

My application uses some tables from a MySQL database encoded in UTF-8.
With Rails 1.1.8, I had no problems with displaying German Umlauts
(ÄÖÜäöüß) in views and forms, all went well without the need to
worry about charsets and encoding.

Since yesterday, my browsers (Safari, Firefox) only display little
question marks instead of the afore mentioned characters.

What will I have to do, to regain the proper display of Umlauts?

Any help is very appreciated

Tom

I’m having the same problem with other extended-latin characters.
They’re correctly stored in my MySQL DB as utf-8, but my Rails setup
seems insistent on sending them to the browser in iso-8859-1, which is
unfortunate since they’re in utf-8 pages. The page is correctly set
for utf-8 encoding, the browser thinks it’s utf8, but the actual bytes
coming from my Mongrel server are a iso-8859-1 stream.

The odd thing about this is that the encoding is fine (in utf-8) if I
run the Rails app on my local machine (OS X), but when I run it on my
server (Ubuntu), the characters get converted to iso-8859-1. They
both hit the same DB.

Thanks for any help or pointers!
-Dan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs