http://www.perlmonks.org?node_id=772134


in reply to Re: Weird encoding after grabing filenames
in thread Weird encoding after grabing filenames

yes i do use the cgi equivalent in longer scripts that is 'print header( -charset=>'utf-8' );'

Yes but i need to re-encode all filenames(@menu_files) to utf-8 at one step, can't it be done without a repeatiton loop?
Why the path of files is taken correctly while the filaname appears like this?