Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?

by graff (Chancellor)
on Mar 11, 2020 at 01:00 UTC ( #11114112=note: print w/replies, xml ) Need Help??


in reply to [SOLVED] How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?

I think you might notice an improvement if you added this line above the print statement:
binmode STDOUT, ":utf8";
  • Comment on Re: How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?
  • Download Code

Replies are listed 'Best First'.
Re^2: How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?
by Cody Fendant (Friar) on Mar 11, 2020 at 19:45 UTC

    I had done this but forgot to include it in the code snippet. It still didn't work, unfortunately.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11114112]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2021-03-01 11:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?