Re: Problems with mime encoding of Japanese Characters in Subject and'From:', 'Reply-to:', ... fields.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 03/20/2008 04:06 AM Dietrich Bollmann said the following:
> Hi, 
> 
> --- note ---
> I sent a similar message already to php-i18n - but this list seems
> not to be used very much (20 messages this year) so I am posting it
> here again...
> ------------
> 
> I try to send messages written in Japanese (Kana/Kanji) with php.
> 
> Everything works fine - only when the subject (or the name of the
> sender) becomes longer, there seems to be something wrong with the
> encoding: Neither my nor the mail reader of other (Japanese) friends 
> decodes the mime string. At the place of the Japanese Characters, 
> the mime string itself is displayed in the subject (to, reply to) 
> field.
> 
> As this doesn't happen for other Japanese emails with even longer
> subjects, I suppose I did something wrong ... but what?

You may want to try this MIME message composing and sending class that
can send messages with encoded headers correctly using any character
set. Take a look at the test_multibyte_message.php example script:

http://www.phpclasses.org/mimemessage


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux