Saturday, July 3, 2010

[Rails] Re: Re: Encoding problems with Rails 3 + Ruby 1.9.1 (big surprise)

Ruby 1.9.2 is not yet released, I'll wait it goes final to update my
freebsd port. Until then I'll be running buggy 1.9.1.

My main problem was handling differently encoded strings. So I had to
add magic comments all over the place, and force_encoding of rdiscount's
output which is US-ASCII.

Moreove my original language uses accentuated characters so if you only
write english you might have not run into the same issues as me. But if
one of your users posts an accentuated char I guess your app will
explode. Have you tried?

--
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 rubyonrails-talk@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate