<div dir="ltr"><br>&gt; use utf8;<br>&gt; print &quot;דוב&quot;;<br>&gt; why does this produce the following:<br>&gt; 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, &#39;:encoding(UTF-8)&#39;;<br>print &quot;דוב&quot;;<br><br>will work, or you could run perl with &quot;-CS&quot; command line switch.<br><br>Ran<br><br></div>