Re: how can I change the encoding of the email subject?
- From: haoniukun@xxxxxxxxx (Kun Niu)
- Date: Sat, 5 Apr 2008 02:19:04 -0700 (PDT)
On 4月5日, 上午12时32分, pa...@xxxxxxxxxxxxx (Jeff Pang) wrote:
use MIME::Words qw/:all/;
for example,
$subject = encode_mimeword($subject,'b','gb2312');
On Fri, Apr 4, 2008 at 9:38 PM, kun niu <haoniu...@xxxxxxxxx> 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: beginners-unsubscr...@xxxxxxxx
For additional commands, e-mail: beginners-h...@xxxxxxxx
http://learn.perl.org/
Thank you for your advice.
This is what I'm after.
.
- References:
- how can I change the encoding of the email subject?
- From: Kun Niu
- Re: how can I change the encoding of the email subject?
- From: Jeff Pang
- how can I change the encoding of the email subject?
- Prev by Date: Re: hash of array does not return what I expect
- Next by Date: Re: hash of array does not return what I expect
- Previous by thread: Re: how can I change the encoding of the email subject?
- Next by thread: Regex: Lines where one pattern may not occure, but other pattern has to?
- Index(es):
Relevant Pages
|