As of today, static pages can declare their own encoding in a meta element, e.g. <meta charset="utf-8">
This is what I mean when I said I declared the charset in the HTML
If you write UTF-8 in the response CGI script, you ought to print "Content-type: text/plain; charset=utf-8\n\n":
The server had already added the UTF-8 content type in the HTTP headers
binmode STDOUT, ":encoding(UTF-8)";
I had done this but forgot to include it in the code snippet. It still didn't work.
In reply to Re^2: How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?
by Cody Fendant
in thread [SOLVED] How do I convince my Perl script that UTF-8 from an HTML form really is UTF-8?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |