MHonArc...aEncode(3)
πΈ NAME πΈ
okay bestie, welcome to MHonArc...aEncode(3) β the User Contributed Perl Documentation page for MHonArc::UTF8::MhaEncode β UTF-8 based routines for MHonArc π
β¨ SYNOPSIS β¨
use MHonArc::UTF8::MhaEncode;
π¦ DESCRIPTION π¦
MHonArc::UTF8::MhaEncode provides UTF-8 related routines for use in MHonArc. The implementation of the routines is designed to work with non-Unicode aware versions of Perl 5. π«Ά
This module is generally not accessed directly since it is used by MHonArc::UTF8 when determining what encoding routines it can use based on your perl installation. However, the following shows you how to use it directly: π
<CharsetConverters override>
plain; mhonarc::htmlize;
default; MHonArc::UTF8::MhaEncode::str2sgml; MHonArc/UTF8/MhaEncode.pm
</CharsetConverters>
<TextClipFunc>
MHonArc::UTF8::MhaEncode::clip; MHonArc/UTF8/MhaEncode.pm
</TextClipFunc>
π FUNCTIONS π
to_utf8($data, $from_charset, $to_charset)β converts$dataencoded in$from_charsetinto UTF-8.$to_charsetis ignored since it is assumed to be"utf-8". πstr2sgml($data, $charset)β all data passed in is converted to utf-8 with HTML specials converted into entity references. β¨clip($text, $clip_len, $is_html, $has_tags)β clip$textto$clip_lennumber of characters. π
π₯ SEE ALSO π₯
MHonArc::UTF8 β go peek at that one too, bestie ππ
π VERSION π
"$Id: MhaEncode.pm,v 1.3 2003/03/05 22:17:15 ehood Exp $"
π AUTHOR π
Earl Hood, earl@earlhood.com π«Ά
MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only under the terms of the GNU General Public License, which may be found in the MHonArc distribution. That's the whole legal vibe, no cap. βοΈ
signed off by perl v5.42.3 on 2020-11-16 β page MHonArc...aEncode(3) bye bestie! π
π¦
π¦ where this page comes from
- nixos 26.05: perl5.42.3-MHonArc 2.6.24
- nixpkgs unstable: perl5.42.3-MHonArc 2.6.24
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms