in reply to Re: clipboard and unicode text
in thread clipboard and unicode 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: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;
utf8::decode($text); utf8::encode($text);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: clipboard and unicode text
by Anonymous Monk on Nov 17, 2017 at 03:01 UTC |