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


webrobot documentation  | view source Contained in the webrobot distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

Data conversion

METHODS

Top

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.


webrobot documentation  | view source Contained in the webrobot distribution.