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
<rr.ro...@gmail.com> 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 rubyonrails-c...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-core+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>



-- 
Cheers

Koz

-- 
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 rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to