in reply to UTF-8 problem (malformed...)

use encoding "cp852"; use utf8;
First you're telling perl your program is writen using cp852, and next you're saying its utf8. Try only
use encoding 'utf8';

Replies are listed 'Best First'.
Re^2: UTF-8 problem (malformed...)
by adamvagyok (Novice) on Dec 27, 2009 at 23:00 UTC
    Theoretically, you're right. But unfortunately it doesn't work. Gives the same error, and additionally, unable to print "αινσ" to terminal.