Module LuckySneaks::Unidecoder
In: lib/lucky_sneaks/unidecoder.rb

Methods

decode   encode   in_yaml_file  

Constants

CODEPOINTS = Hash.new { |h, k| h[k] = YAML::load_file(File.join(File.expand_path(File.dirname(__FILE__)), "unidecoder_data", "#{k}.yml"))   Contains Unicode codepoints, loading as needed from YAML files

Public Class methods

Returns string with its UTF-8 characters transliterated to ASCII ones

You‘re probably better off just using the added String#to_ascii

Returns character for the given Unicode codepoint

Returns string indicating which file (and line) contains the transliteration value for the character

[Validate]