Re: MIME encoding and simplified chinese....help!
| From: | Ellen O'Neal | Date: | Tue, 15 Oct 2002 09:20:56 +0000 |
| Subject: | Re: MIME encoding and simplified chinese....help! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-22408@lists.php.net to get a copy of this message | ||
Hi,
I had the same problem with traditional Chinese Big5.
I tried two different php classes, the subject line
still didn't change. I have not tried mimemessage
class.
This is what I did to make it work. I first convert
the subject in Chinese to base64 encoding. Then I
assigned "=?big5?B?put-base64-encoding-here?=" to
subject. You must have "=?big5?B??=" and put your
base64 encoded Chinese between the 3rd and 4th
question marks. Make sure you change big5 to the
simplified Chinese charset.
Regards,
Ellen
--- Manuel Lemos <mlemos@acm.org> wrote:
> Hello,
>
> > On 10/14/2002 09:34 PM, Nigel Dunn wrote:
> >
> >> I have a PHP MIME class that works supurbly....my
> big question is...
> >>
> >> Is there a way to convert the subject line to
> simplified chinese. The
> >> body of the email is fine but I havent been able
> to get the subject
> >> line to display chinese.
> >
> >
> > I don't know what class are you using, but if it
> is this class, all you
> > need to do is to specify the chinese encoding that
> you want to use in
> > the optional charset argument of the SetHeader
> function.
>
> I meant this class:
>
> http://www.phpclasses.org/mimemessage
>
> --
>
> Regards,
> Manuel Lemos
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com