in reply to File path with special characters

If you are on windows, this trick worked for me recently:

C:\test>perl -wle"open O, qq[| perl -pe1 > \"è or å,ä,ö\" ]; print O f +or 1..10" C:\test>type "è or å,ä,ö" 1 2 3 4 5 6 7 8 9 10

Not a great demo, but the basic idea is to use cmd.exe, which unlike perl these days, knows how to handle wide char sets, to create the file (assuming you looking to create it, not read a pre-existing file).

If you're looking to read a pre-existing file you can do a similar trick using the read-from version of the piped open:

C:\test>perl -we"open O, qq[ type \"è or å,ä,ö\" | ]; print while <O>" 1 2 3 4 5 6 7 8 9 10

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."