Removing string's accents

Hi, I'm pretty sure to have seen a new method 'remove_accents' in Rails
2.2 but I can't find it again. Is it me or does this method exists for
good ?

Thanks

Here's another solution:

http://www.techniconseils.ca/en/scripts-remove-accents-ruby.php

Unfortunately, I still have the same encoding problems, but hopefully
it'll work for you. And don't hesitate to get back to me if you think
you know what I'm doing wrong :slight_smile:

Good luck,

Chris.

Bob,

Rails doesn't have a specific method to remove diacritics. There are a
couple alternatives - I used the 1st one and it works really great:

    + http://snippets.dzone.com/posts/show/5609
    + http://github.com/thbar/diacritics_fu/tree/master
    + http://www.jroller.com/obie/tags/ruby
    + http://www.techniconseils.ca/en/scripts-remove-accents-ruby.php

Cheers, Sazima

I used the 1st one and it works really great:

    + http://snippets.dzone.com/posts/show/5609

I tried that, but I get the following error message:

NameError: uninitialized constant ActiveSupport::Multibyte::Handlers

I have Ruby 1.8.6 and Rails 2.2.2.

Thanks,

Chris.