I used to do it fine with:
Iconv.iconv('ASCII', 'EBCDIC-US', someEBCDICstring)
since ruby 1.9 I get that warning:
iconv will be deprecated in the future, use String#encode instead.
but I can't find any reference of EBCDIC or cp37, cp500, cp875... in the Encoding class:
p Encoding.name_list
Am I supposed to import it from somewhere? Can I add it myself?