Term::Encoding - Detect encoding of the current terminal
use Term::Encoding qw(term_encoding); my $encoding = term_encoding; # ditto without exporting function use Term::Encoding; my $encoding = Term::Encoding::get_encoding();
Term::Encoding is a simple module to detect an encoding the current terminal expects, in various ways.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
Audrey Tang <audreyt@audreyt.org>
Copyright 2019 Tatsuhiko Miyagawa
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Locale::Maketext::Lexicon
To install Term::Encoding, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::Encoding
CPAN shell
perl -MCPAN -e shell install Term::Encoding
For more information on module installation, please visit the detailed CPAN module installation guide.