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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
267c9c28f8cbda11587fba0b1f59fad3?d=identicon&s=25 mail2go (Guest)
on 2007-01-22 13:21
(Received via mailing list)
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

46b943683bf7383baaec570074b697d0?d=identicon&s=25 Dan Avery (Guest)
on 2007-02-16 23:12
(Received via mailing list)
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!
This topic is locked and can not be replied to.