use MIME::Words qw/:all/; for example,
$subject = encode_mimeword($subject,'b','gb2312'); On Fri, Apr 4, 2008 at 9:38 PM, kun niu <[EMAIL PROTECTED]> wrote: > Dear all, > > I'm trying to send email with perl in my application. > The email is encoded with utf8. > The content of the email is good. > But the subject of the email is wrongly shown. > I use MIME::Lite package. > So how can I use utf8 encoding in the subject of my email? > Thanks for any help. > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/