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?

In reply to Re^2: Weird encoding after grabing filenames by Nik
in thread Weird encoding after grabing filenames by Nik

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":