Is there any approach currently used for making the Ruby 1.8/Rails 2.3.5 behavior the same in Ruby 1.9?

This is important for virtually any non-english application... Are there any plans for integration some library for achieving the same results as Rails currently supports?

Rodrigo.

Em 08-05-2010 00:04, Michael Koziarski escreveu:
in 1.9 mb_chars simply returns self.  This behaviour is coming
straight from ruby core:

http://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/string/multibyte.rb#L53-65

On Sat, May 8, 2010 at 11:00 AM, Rodrigo Rosenfeld Rosas
<[email protected]>  wrote:
I'm testing ruby-head through rvm but can't get 'ação'.mb_chars.upcase ==
'AÇÃO'... I get 'AçãO' instead...

This happens both for Rails 2.3.5 and Rails 3 beta 3...

How can I get upcase to work correctly?

Thanks in advance,

Rodrigo.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" 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-core?hl=en.





--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Core" 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-core?hl=en.

Reply via email to