Convert-YText
view release on metacpan or search on metacpan
lib/Convert/YText.pm view on Meta::CPAN
=head1 VERSION
Version 0.2
=head1 SYNOPSIS
use Convert::YText qw(encode_ytext decode_ytext);
$encoded=encode_ytext($string);
$decoded=decode_ytext($encoded);
($decoded eq $string) || die "this should never happen!";
=head1 DESCRIPTION
Convert::YText converts strings to and from "YText", a format inspired
by xtext defined in RFC1894, the MIME base64 and quoted-printable
types (RFC 1394). The main goal is encode a UTF8 string into something safe
for use as the local part in an internet email address (RFC2822).
By default spaces are replaced with "+", "/" with "~", the characters
"A-Za-z0-9_.-" encode as themselves, and everything else is written
( run in 0.635 second using v1.01-cache-2.11-cpan-26ccb49234f )