mail2go
2007-Jan-22 12:20 UTC
[Rails] 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Dan Avery
2007-Feb-16 22:11 UTC
[Rails] Re: Broken Umlauts (ÄÖÜäöüß) since Update on Rails 1.2.1
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 On Jan 22, 4:20 am, "mail2go" <mail...-Mmb7MZpHnFY@public.gmane.org> wrote:> 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 andencoding. > > 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--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---