<div dir="ltr"><br>> use utf8;<br>> print "דוב";<br>> why does this produce the following:<br>> Wide character in print at Desktop\<a href="http://test.pl">test.pl</a> line 2.<br><br><a href="http://search.cpan.org/~dom/perl-5.12.5/pod/perldiag.pod#Wide_character_in_%s">http://search.cpan.org/~dom/perl-5.12.5/pod/perldiag.pod#Wide_character_in_%s</a><br>
<br>use utf8;<br>binmode STDOUT, ':encoding(UTF-8)';<br>print "דוב";<br><br>will work, or you could run perl with "-CS" command line switch.<br><br>Ran<br><br></div>