method

iconv

v1_8_7_330 - Show latest stable - Class: Iconv
iconv(...)
public

Document-method: Iconv::iconv

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.