Mmm

Just noticed another problem

char_from = "àéìòù"
char_to   = "aeiou"

puts char_from.size  => 10
puts char_to.size      => 5

At least on my Mac. The problem here is encoding.

Looks trickier than I first thought, would be a cinch if this was unicode
and we were using Java :) Just decompose the unicode character and drop the
accent characters.

Ignore everything I have said and lets hope someone who knows about this can
suggest a solution, I am intrigued by this.

-- 
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.

Reply via email to