Term::Encoding(3)
okay bestie, welcome to Term::Encoding(3) β yes itβs user-contributed Perl documentation, and itβs here to help you figure out the encoding your current terminal expects. Very demure, very useful β¨.
π NAME π
Term::Encoding β detect encoding of the current terminal. Thatβs literally the whole mission, and it ate π
.
β¨ SYNOPSIS β¨
Hereβs the group-chat-approved usage, code exactly as the page says π«Ά:
use Term::Encoding qw(term_encoding);
my $encoding = term_encoding;
# ditto without exporting function
use Term::Encoding;
my $encoding = Term::Encoding::get_encoding();
So you can import term_encoding, or skip the exporting situation and call Term::Encoding::get_encoding() directly. Both are valid, no cap πΈ.
π DESCRIPTION π
Term::Encoding is a simple module. Its whole vibe is: detect an encoding the current terminal expects, in various ways. Thatβs it β main character energy, but make it encoding detection π.
π AUTHORS π
These iconic humans made it happen:
- Tatsuhiko Miyagawa β
miyagawa@bulknews.net - Audrey Tang β
audreyt@audreyt.org
π COPYRIGHT π
The copyright situation is literally: Copyright 2019 Tatsuhiko Miyagawa. Periodt.
π§ LICENSE π§
License tea β: this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Slay π¦.
π¦ SEE ALSO π¦
Locale::Maketext::Lexiconβ go peek, bestie π
byeee π this cutie is from perl v5.42.0, dated 2019-03-30. Thatβs the whole manual page, mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Term-Encoding 0.03-bp160.1.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms