Problem emailing asian charecters
Posted: 13 Feb 2006, 23:05
Versions are as follows:
Mantis v1.0.0
PHP 4.4.2
MySQL 4.1.15
Apache 2.0.55
Redhat linux 7.2 on 2.6.15 kernel
I work for a company with several Korean developers. I got korean fonts working in the MySQL DB by making the default charset UTF-8. Everything works beautifully until Mantis sends out emails. The emails come through as plain ASCII text and the korean fonts get hosed. I've tried ever setting I can think of to get this part working but have ran out of ideas.
Btw, I did try this in the 'email_api.php' to no avail
I'm a PHP dummy so I'm not sure what else to look for.
Thanks!
Shawn Henry
shenry at winscom.net
Mantis v1.0.0
PHP 4.4.2
MySQL 4.1.15
Apache 2.0.55
Redhat linux 7.2 on 2.6.15 kernel
I work for a company with several Korean developers. I got korean fonts working in the MySQL DB by making the default charset UTF-8. Everything works beautifully until Mantis sends out emails. The emails come through as plain ASCII text and the korean fonts get hosed. I've tried ever setting I can think of to get this part working but have ran out of ideas.
Btw, I did try this in the 'email_api.php' to no avail
Code: Select all
$mail->CharSet = "UTF-8";
$t_subject=mb_convert_encoding($t_subject,"UTF-8",lang_get( 'charset', lang_get_current() ));
$t_message=mb_convert_encoding($t_message,"UTF-8",lang_get( 'charset', lang_get_current() ));
Thanks!
Shawn Henry
shenry at winscom.net