note
soonix
This is independent of <c>use utf8;</c><br> On my Linux system, I don't have this problem, on Windows I could solve it by switching to [https://en.wikipedia.org/wiki/Code_page|Code page] 65000 (!)<p>see [https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp] and/or CPAN module [mod://Win32::Codepage]</p>(!) - which is the code page for UTF-7…
<p><b>Update:</b> I hadn't taken the -C flag into account. With -CS, I also get wrong encoding on Linux. So [haj]'s [id://11117399|answer] is it.</p>
<p><b>Update 2:</b>with chcp 65001, it also works with -CS on Windows</p>
11117393
11117393