| a bug?:Encoring for outgoing mail -
02-01-2007, 05:41 AM
Hi,folks.
I am now testing sending mail to client in Japanese environment.
suggetion for any one?
1. preconditions
* Default email encoding of a client-side: ISO-2022-JP(7bit)
* Encoding setting in config.php
'charset' = 'UTF-8',
'html_encoding' = '8bit',
'text_encoding' = '7bit',
'html_charset' = 'UTF-8',
'text_charset' = 'ISO-2022-JP',
* Ticket replies from staff CP to a user
* I send a message twice for client.
2. test results
1) The first
Header information:
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=ISO-2022-JP
Encoding of Subject Bochy: ISO-2022-JP
Encoding of message body: UTF-8
2) The second
Header information:
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
Encoding of Subject: UTF-8
Encoding of Message body: UTF-8
3. consideration
* Encording of a message body was 'UTF-8' regardless of setting contents of Config.php of Encording.
* Only the first time was reflected, and, as for the encoding of Subject, setting contents of Config.php were changed in 'UTF-8' after the second automatically.
* Encoding setting of an outgoing email were changed in 'UTF-8' after sending a mail automatically.
regards, |