Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 ( [id://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 (Hermit) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114112]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 16:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found