OS Manuals

Term::Encoding(3pm)

Term::Encoding - Detect encoding of the current terminal

Term::Encoding(3) User Contributed Perl Documentation Term::Encoding(3)

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

2026-06-30 perl v5.42.2

perl-term-encoding 0.03-r2 · os · ingested 2026-09-30