transliterate(string, replacement = "?")
Instance Public methods
Replaces non-ASCII characters with an ASCII approximation, or if none
exists, a replacement character which defaults to â?â.
transliterate('Ãrøskøbing')
# => "AEroskobing"
Default approximations are provided for
Western/Latin characters, e.g, âøâ, âñâ, âéâ, âÃâ, etc.
This method is I18n aware, so you can set up
custom approximations for a locale. This can be useful, for example, to
transliterate German's âüâ