So, are you sure that your script is encoded as UTF-8? Because that's what you tell Perl:
use utf8;
If it is not encoded as that, that's likely what leads to these decoding errors and/or the crashes.
In reply to Re^3: Confusing UTF-8 bug in CGI-script
by Corion
in thread Confusing UTF-8 bug in CGI-script
by wanradt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |