in reply to Tk Entry & Right Single Quote
use utf8;
Also, you're printing the character to STDERR. Either set the binmode of STDERR to understand UTF-8, or encode the character.
binmode STDERR, ':encoding(UTF-8)'; # or use Encode qw{ encode }; say STDERR encode('UTF-8', "Messaging: $msg");
If you're on MSWin (guessing from words like Outlook and Notepad), you might need to switch the terminal's codepage to UTF-8. I don't have such a machine handy, so you'll have to Google that yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk Entry & Right Single Quote
by Marshall (Canon) on Apr 13, 2024 at 02:09 UTC | |
|
Re^2: Tk Entry & Right Single Quote
by cmv (Chaplain) on Apr 13, 2024 at 22:39 UTC |