$converted=Text::Iconv->new("ISO-8859-1", "UTF-8"); $confile = $converter->convert($file); open(INFILE, $confile)..... ..... parse the file...