method

iconv

v1_8_6_287 - Show latest stable - Class: Iconv
iconv(...)
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.