Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Can't decode ill-formed UTF-8 octet sequence <FF> at /usr/share/perl5/CGI.pm line 1116.

by Corion (Patriarch)
on Dec 30, 2016 at 10:43 UTC ( [id://1178645]=note: print w/replies, xml ) Need Help??


in reply to Can't decode ill-formed UTF-8 octet sequence <FF> at /usr/share/perl5/CGI.pm line 1116.

Maybe your browser is not uploading the data as UTF-8 at all?

What data is your browser sending?

  • Comment on Re: Can't decode ill-formed UTF-8 octet sequence <FF> at /usr/share/perl5/CGI.pm line 1116.

Replies are listed 'Best First'.
Re^2: Can't decode ill-formed UTF-8 octet sequence <FF> at /usr/share/perl5/CGI.pm line 1116.
by nikolay (Beadle) on Dec 31, 2016 at 09:07 UTC
    How will find out that?

      By looking at what your browser sends, potentially via Wireshark or maybe the Mozilla HTTP Live Headers extension. You can also dump what the script receives directly by not using CGI and printing everything that the script reads from STDIN to a file.

      Most likely, your browser tells CGI that it is sending UTF-8 but isn't sending UTF-8. But without seeing the headers and data, that's always hard to tell.

        Thank you. I have got my data, by removing use utf8::all; .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found