Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Special character in file name -- die error messed up

by soonix (Canon)
on May 28, 2020 at 12:30 UTC ( #11117401=note: print w/replies, xml ) Need Help??

in reply to Special character in file name -- die error messed up

This is independent of use utf8;
On my Linux system, I don't have this problem, on Windows I could solve it by switching to Code page 65000 (!)

see and/or CPAN module Win32::Codepage

(!) - which is the code page for UTF-7…

Update: I hadn't taken the -C flag into account. With -CS, I also get wrong encoding on Linux. So haj's answer is it.

Update 2:with chcp 65001, it also works with -CS on Windows

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11117401]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2021-02-27 16:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found