Forum: Rails I18n Posted form fields becomes [Binary Data] insted of strings

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D0cf6f4da8b156511d5db1b6c842aad6?d=identicon&s=25 Dan Byström (danbys)
on 2009-02-06 16:09
Hi every one,

I'm having problems with my Rails forms. When I submit a form that holds
strings containing letters like å,ä or ö then the strings in the params
variable are converted into [Binary Data]. Does anyone know why this
happens?

Thanks
-Dan
D0cf6f4da8b156511d5db1b6c842aad6?d=identicon&s=25 Dan Byström (danbys)
on 2009-02-07 15:21
I figured out why my params are populated with [Binary Data]. Letters
like å,ä, and ö are mutibyte charaters in the UTF8 format. In Rails
2.2.2 UTF8 is a default setting and since I use Eclipse/Aptana Studio,
my params (containing å,ä,ö) are displayed as [Binary Data] when I
debug.
This topic is locked and can not be replied to.