public
Fork of rsl/stringex
Description: A port of Perl's Unidecoder to Ruby.
Homepage:
Clone URL: git://github.com/norman/unidecoder.git
name age message
file .gitignore Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file History.txt Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file MIT-LICENSE Sun Mar 16 06:53:09 -0700 2008 tweaked [rsl]
file Manifest.txt Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file README.rdoc Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file Rakefile Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file init.rb Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
directory lib/ Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
directory test/ Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
file unidecoder.gemspec Fri Feb 20 09:00:34 -0800 2009 Removed anything not related to Unidecode. Swit... [Norman Clarke]
README.rdoc

Unidecoder

This library converts Unicode [and accented Ascii] characters to their plain-text Ascii equivalents. This is a port of Perl’s Unidecode and provides eminently superior and more reliable results than Iconv. (Seriously, Iconv… A plague on both your houses! [sic])

You probably won’t ever need to run Unidecoder by itself. StringExtensions adds String#to_ascii which wraps all of Unidecoder’s functionality. For anyone interested, details of the implementation can be read about in the original implementation of Text::Unidecode. Extensive examples can be found in the tests.

copyright © 2008 Lucky Sneaks, released under the MIT license