class String
This partial class adds some useful methods to convert text to utf-8
Public Instance Methods
to_utf8()
click to toggle source
# File lib/utf8_converter.rb, line 52 def to_utf8 dup.to_utf8! end
to_utf8!()
click to toggle source
# File lib/utf8_converter.rb, line 48 def to_utf8! UTF8Converter.convert_to_utf8!(self) end