# File lib/thinking_sphinx/utf8.rb, line 4 def self.encode(string) new(string).encode end
# File lib/thinking_sphinx/utf8.rb, line 8 def initialize(string) @string = string end
# File lib/thinking_sphinx/utf8.rb, line 12 def encode string.encode!('ISO-8859-1') string.force_encoding('UTF-8') end