NAME
MIME::EcoEncode - MIME Encoding (Economical)
SYNOPSIS
use MIME::EcoEncode;
$encoded = mime_eco($str, 'UTF-8'); # encode utf8 string
$encoded = mime_eco($str, 'ISO-2022-JP'); # encode 7bit-jis string
DESCRIPTION
This module implements RFC 2047 Mime Header Encoding.
OPTIONS
$encoded = mime_eco($str, $charset, $lf, $bpl, $mode);
# $charset : 'UTF-8' or 'ISO-2022-JP'
# $lf : line feed (default: "\n")
# $bpl : bytes per line (default: 76)
# $mode : 0 : unstructured header
# 1 : structured header
# 2 : auto (Subject or Comments ? 0 : 1)
# (default: 2)
SEE ALSO
For more information, please visit http://www.nips.ac.jp/~murata/mimeeco/
AUTHOR
MURATA Yasuhisa <murata@nips.ac.jp>
COPYRIGHT
Copyright (C) 2011 MURATA Yasuhisa
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.