Stefan Trcek > webrobot-0.81 > WWW::Webrobot::MyEncode

Download:
webrobot-0.81.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

WWW::Webrobot::MyEncode - Subroutines for 'Encode'

SYNOPSIS ^

 octet_to_internal_utf8("iso-8859-1", "a text");
 octet_to_encoding("iso-8859-1", "a text");

DESCRIPTION ^

Data conversion

METHODS ^

octet_to_internal_utf8($encoding, $text)

Assume $text is in octet form, but is a valid encoding $encoding and convert it to Perls internal form (utf-8).

octet_to_encoding($encoding, $text)

Assume $text is in octet form an convert it to encoding $encoding.

syntax highlighting: