Yes, this is an example of what I'm trying to do:
use Win32::Clipboard;
use utf8;
tie my $clipboard, 'Win32::Clipboard';
my $text = "אושרי"; # please note that I
+ wrote here a unicode string (Hebrew chars), but this forum changed i
+t automatically to these numbers (ASCII I guess)
$clipboard = $text;
Then, outside of the program, I try to paste (using ctrl-v) the unicode string. I get "Gibberish".
I also tried the following, which didn't work:
utf8::decode($text);
utf8::encode($text);
|