I've written and tested a perl script encoded in ANSI charset and it seems to work well when I invoke the script from a web server, ie apache.
However, when I encode the script in utf8 the error log shows a "premature end of headers" error.
In my view this could be because linux may not understand the line #!/usr/bin/perl as it is encoded in utf8.
I use the pragma "use utf8"; after that line to indicate that the whole script was written in utf8.
Many thanks for your help.
In reply to calling the interpreter from a utf8 script by emilioayllon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |