하준용
2007-08-25 07:40:16 UTC
hi
i use korean language.
in Zend_Mail(1.0.1)
$mail = new Zend_Mail('utf-8');
$mail->setSubject('하하하하하하하하'); --> in korean same character 8 string.
was properly displayed in mail client.
but.
$mail->setSubject('하하하하하하하하하'); --> in korean same character 9 string.
was broken.
i saw that subject was encodeQuotedPrintable() and 76 byte over line was auto line break at source and mailing list.
Zend_Mime::encodeQuotedPrintable('하하하하하하하하');
result is
=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98
Zend_Mime::encodeQuotedPrintable('하하하하하하하하하');
result is
=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=
=ED=95=98
my korean 9 over string subject was encodeQuotedPrintable and auto line break.
so mail client did't decode orginal subject.
it's a bug? or my mistake?
is there any way to use 9 over string subject in korean?
thanks.
i use korean language.
in Zend_Mail(1.0.1)
$mail = new Zend_Mail('utf-8');
$mail->setSubject('하하하하하하하하'); --> in korean same character 8 string.
was properly displayed in mail client.
but.
$mail->setSubject('하하하하하하하하하'); --> in korean same character 9 string.
was broken.
i saw that subject was encodeQuotedPrintable() and 76 byte over line was auto line break at source and mailing list.
Zend_Mime::encodeQuotedPrintable('하하하하하하하하');
result is
=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98
Zend_Mime::encodeQuotedPrintable('하하하하하하하하하');
result is
=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=ED=95=98=
=ED=95=98
my korean 9 over string subject was encodeQuotedPrintable and auto line break.
so mail client did't decode orginal subject.
it's a bug? or my mistake?
is there any way to use 9 over string subject in korean?
thanks.