Torbjorn Tornkvist's (etnt) iconv driver for erlang (extracted from Jungerl)