Class: String

Inherits:
Object show all
Defined in:
lib/ruby-xbmc.rb

Instance Method Summary collapse

Instance Method Details

#transliterateObject



67
68
69
70
71
# File 'lib/ruby-xbmc.rb', line 67

def transliterate
    Iconv.iconv('ASCII//IGNORE//TRANSLIT', 'UTF-8', self).to_s
rescue
    self
end