Sha256: 50bd1bcf7854e778da83456ae2d9b31f04c4ee095053d3f661b3798927c7952d

Contents?: true

Size: 736 Bytes

Versions: 4

Compression:

Stored size: 736 Bytes

Contents

Quick start
===========

DiacriticsFu::escape("éphémère")
=> "ephemere"

DiacriticsFu::escape("räksmörgås")
=> "raksmorgas"

What?
=====

A small library to remove accents from a string. Relies on ActiveSupport.

Created because I needed a simple way to remove most diacritics from French sentences, while generating slugs (url) for a CMS (either Mephisto or ComatoseCMS).

Nb: this approach is not the fastest way to achieve this. It's good enough for me though.

Author
======

Thibaut Barrère (http://blog.logeek.fr)

Testing
=======

You can run the spec against the latest available ActiveSupport using "rake spec".

To run the tests against all installed ActiveSupport versions, use "rake spec_multi"

License
=======

MIT

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
thbar-diacritics_fu-1.0.1 README
thbar-diacritics_fu-1.0.2 README
thbar-diacritics_fu-1.0.3 README
diacritics_fu-1.0.3 README