1Term::Encoding(3) User Contributed Perl Documentation Term::Encoding(3)
2
3
4
6 Term::Encoding - Detect encoding of the current terminal
7
9 use Term::Encoding qw(term_encoding);
10 my $encoding = term_encoding;
11
12 # ditto without exporting function
13 use Term::Encoding;
14 my $encoding = Term::Encoding::get_encoding();
15
17 Term::Encoding is a simple module to detect an encoding the current
18 terminal expects, in various ways.
19
21 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
22
23 Audrey Tang <audreyt@audreyt.org>
24
26 Copyright 2019 Tatsuhiko Miyagawa
27
29 This library is free software; you can redistribute it and/or modify it
30 under the same terms as Perl itself.
31
33 Locale::Maketext::Lexicon
34
35
36
37perl v5.30.1 2020-01-30 Term::Encoding(3)