method

iconv

v1_9_3_125 - Show latest stable - Class: Iconv
iconv(p1, p2 = v2, p3 = v3)
public

Shorthand for

Iconv.open(to, from) { |cd|
  (strs + [nil]).collect { |s| cd.iconv(s) }
}

Parameters

to, from

see Iconv.new

strs

strings to be converted

Exceptions

Exceptions thrown by Iconv.new, Iconv.open and Iconv#iconv.