Nobumi Iyanaga <[EMAIL PROTECTED]> writes:
> What am I doing wrong?
You did not read 'perldoc MIME::QuotedPrint' to the end :)
| Perl v5.8 and better allow extended Unicode characters in strings. Such
strings
| cannot be encoded directly, as the quoted-printable encoding is only
defined for
| single-byte characters. The solution is to use the Encode module to
select the byte
| encoding you want. For example:
|
| use MIME::QuotedPrint qw(encode_qp);
| use Encode qw(encode);
|
| $encoded = encode_qp(encode("UTF-8", "\x{FFFF}\n"));
| print $encoded;
Regards,
Gisle