Anton Hosenträger wrote:
> and first for this above to work you have to have an initializer:
>
> class String
> def to_iso
> Iconv.conv('ISO-8859-1', 'utf-8', self)
> end
> end
>
> class NilClass
> def to_iso
> Iconv.conv('ISO-8859-1', 'utf-8', '')
> end
> end
>
>
> (code provided by railway team)
Hi, I have the same problem with an application. I'm new in this so I
need to know where to add theses lines you say.
Thank you.
--
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
-~----------~----~----~----~------~----~------~--~---