http://www.perlmonks.org?node_id=990553


in reply to Re^3: HTML Form > PERL Script in UTF-8 issue
in thread HTML Form > PERL Script in UTF-8 issue

CGI, yes the Meta tag is in for everything. The HTML form itself is saved as UTF8, PERL files don't like UTF8 format, therefore they must remain in ANSI.
  • Comment on Re^4: HTML Form > PERL Script in UTF-8 issue

Replies are listed 'Best First'.
Re^5: HTML Form > PERL Script in UTF-8 issue
by choroba (Cardinal) on Aug 29, 2012 at 20:33 UTC
    Perl has no likings. I am able to save scripts in utf-8 without problems.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      What do you mean, how did you do so? I'm using Notepad++ and if I convert a PL file to UTF-8, the script no longer runs.

        Likely an extra byte-order mark Notepad++ adds by default. Windows editors are nasty like that. (You should be able to turn it off from the options.)