> use utf8;
> print "דוב";
> why does this produce the following:
> Wide character in print at Desktop\test.pl line 2.

http://search.cpan.org/~dom/perl-5.12.5/pod/perldiag.pod#Wide_character_in_%s

use utf8;
binmode STDOUT, ':encoding(UTF-8)';
print "דוב";

will work, or you could run perl with "-CS" command line switch.

Ran
_______________________________________________
Perl mailing list
Perl@perl.org.il
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to