in reply to Confusing UTF-8 bug in CGI-script

Hi,

The issue is that perl does not know what encoding you are using in your source.

The following article has several solutions : http://www.ahinea.com/en/tech/perl-unicode-struggle.html

Hope this helps

Regards

Dirko

Replies are listed 'Best First'.
Re^2: Confusing UTF-8 bug in CGI-script
by Corion (Patriarch) on Feb 01, 2011 at 17:53 UTC

    Actually, use utf8 tells Perl that the source code is (intended to be) UTF-8.