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; .