<? $asd = array("asd","dfg", "ghj","hjk"); function my_func(&$item) { $item=iconv("ISO-8859-1", "UTF-8", $item); } array_walk($asd, 'my_func'); ?>