Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Term::Encoding - Detect encoding of the current terminal

Authors

       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

       Audrey Tang <audreyt@audreyt.org>

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();

See Also