Earl Hood > MHonArc-2.6.16 > MHonArc::UTF8::Encode

Download:
MHonArc-2.6.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

MHonArc::UTF8::Encode - UTF-8 Encode-based routines for MHonArc

SYNOPSIS ^

  use MHonArc::UTF8::Encode;

DESCRIPTION ^

MHonArc::UTF8::Encode provides UTF-8 related routines for use in MHonArc by use Perl's v5.8, or later, Encode module.

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.

FUNCTIONS ^

to_utf8($data, $from_charset, $to_charset)

Converts $data encoded in $from_charset into UTF-8. $to_charset is ignored since it 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

VERSION ^

$Id: Encode.pm,v 1.2 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.