use Encode; from_to($text, "utf8", iso-8859-1");