before your print statement. Update: to see why this matters, before doing that try adding use warnings; and checking your server log. You'll see warnings to the effect of "Wide character in print at..." which means that Perl does not know how to output the Unicode characters because STDOUT is currently using some single-byte encoding (usually ISO-8859-1). So you need to explicitly tell it to use UTF-8 instead.binmode STDOUT, ':utf8';
In reply to Re: UTF-8 from a CGI script
by Errto
in thread UTF-8 from a CGI script
by PerlRudi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |