Replaced deprecated iconv methods