MHonArc...aEncode(3)

πŸ“¦ version 2.6.24, in nixos 26.05, nixpkgs unstable

🌸 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 $data encoded in $from_charset into UTF-8. $to_charset is 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 $text to $clip_len number 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