The file is encoded using UCS-2le. You're treating it as if it was encoded using iso-latin-1. Just decode it.
open(my $log_fh, '<:encoding(UCS-2le)', $log_qfn) or die("Can't open log file \"$log_qfn\": $!\n");
In reply to Re: How to parse input file and print without double space
by ikegami
in thread How to parse input file and print without double space
by kadams
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |