Term::Encoding - Detect encoding of the current terminal
Contents
Copyright
Copyright 2019 Tatsuhiko Miyagawa
Description
Term::Encoding is a simple module to detect an encoding the current terminal expects, in various ways.
License
This library is free software; you can redistribute it and/or modify it under the same terms as Perl
itself.
Name
Term::Encoding - Detect encoding of the current terminal
See Also
Locale::Maketext::Lexicon
perl v5.36.0 2022-11-20 Term::Encoding(3pm)
Synopsis
use Term::Encoding qw(term_encoding);
my $encoding = term_encoding;
# ditto without exporting function
use Term::Encoding;
my $encoding = Term::Encoding::get_encoding();
