in reply to Re: Perl encoding problem
in thread Perl encoding problem

I'm glad to see use utf8; was sufficient to resolve your problem.

Unrelated to your initial problem, I thought that I'd point out a few issues with:

open (DATA, "source.txt") || die "error opening file";

— Ken

Replies are listed 'Best First'.
Re^3: Perl encoding problem
by derion (Sexton) on Dec 14, 2021 at 13:50 UTC
    The way I used open was sloppy, I should know at least that better.
    autodie is something new for me, tried it, liked it, thanks a lot for this something new.