fix iconv conversion to legacy 8bit codepages