Encodes string from Perl's internal form into I<ENCODING> and returns
a sequence of octets. For CHECK see L</"Handling Malformed Data">.
+For example to convert (internally UTF-8 encoded) Unicode data
+to octets:
+
+ $octets = encode("utf8", $unicode);
+
=item *
$string = decode(ENCODING, $bytes[, CHECK])
internal form and returns the resulting string. For CHECK see
L</"Handling Malformed Data">.
+For example to convert ISO 8859-1 data to UTF-8:
+
+ $utf8 = decode("latin1", $latin1);
+
=item *
from_to($string, FROM_ENCODING, TO_ENCODING[, CHECK])