# File lib/rbot/core/unicode.rb, line 39 def in(data) rv = nil @iconvs.each_with_index { |ic, idx| begin debug "trying #{@iencs[idx]}" rv = ic.iconv(data) break rescue end } rv = @default_in.iconv(data) if !rv debug ">> #{rv.inspect}" return rv end