method

kconv

ruby latest stable - Class: String
kconv(to_enc, from_enc=nil)
public

Convert self to to_enc. to_enc and from_enc are given as constants of Kconv or Encoding objects.