Hello all,
What I would like is to enable users to view (letters|characters) in their native format (for my Tk/Gtk2 programs). I've read this, this, this, this, perllocale, and more, and I'm still not understanding.
On my end, so long as I have the line "use encoding 'utf8'" in there, I can see things just fine (screenshot).
However, users with other locale/language settings (ie., cp1251, ru_RU.CP1251) are unable to do so. Again, unlike the examples I've seen, I do not know in advance what their settings are.
Given the other nodes, will adding the following help?
use locale;
use POSIX qw/locale_h/;
my $encoding = setlocale(LC_CTYPE);
setlocale(LC_CTYPE, $encoding);