This is not a bug, at least not a bug of Perl/tk. With modern perls,
you cannot assume that a variable has or has not the utf8 flag set. If
you use the contents of a variable "outside" of perl, then you have to
make sure the contents are properly encoded for the outer world. It
would be nice if perl would do this itself for filesystem functions,
but this is still an item on perl's todo list. See "Unicode in
Filenames" in perldoc perltodo. As perl 5.10.0 won't fix this problem,
we have to wait for 5.12.0.

Regards,
    Slaven

-- 
Slaven Rezic - slaven <at> rezic <dot> de

    tknotes - A knotes clone, written in Perl/Tk.
    http://ptktools.sourceforge.net/#tknotes



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to