in reply to Re: Why does Perl choke on my UTF8 identifier?
in thread Why does Perl choke on my UTF8 identifier?

<meta http-equiv="Content-type" content="text/html;charset=cswindows1252">

Aha! blaming the editor is correct. Your advice (Thank You!) was spot-on. I use vim too, and indeed, the fileencoding was set to iso-8859. I corrected that and ran the program successfully. I only feel a little under-educated. Effective Perl Programming should have had a note about editors and their codepages and how use utf8 won't dwim if the editor is saving the program text as something else ;-).

Examine what is said, not who speaks.
Love the truth but pardon error.
Silence betokens consent.
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: Why does Perl choke on my UTF8 identifier?

Replies are listed 'Best First'.
Re^3: Why does Perl choke on my UTF8 identifier?
by bibliophile (Prior) on Mar 31, 2021 at 14:54 UTC

    Wishful thinking on my part... aren't we long overdue to have editors default to UTF-8?

    use OldMan::Yelling::AtClouds;

    -bib