From:             mfurdyk at takingitglobal dot org
Operating system: Redhat 7.3
PHP version:      4.3.9
PHP Bug Type:     Mail related
Bug description:  Unicode subject lines getting garbled

Description:
------------
I have checked to see if this is a problem with qmail, but it is not.

If I send an e-mail, using UTF-8 as encoding for the .php files that does
this, with the subject and body being Unicode Russian or Spanish or any
type of special characters, the subject always comes through missing
characters...

The body, however, is always fine!

Reproduce code:
---------------
mail("$full","Вестник
TakingITGlobal 4.11:
Предпринимательство","TakingITGlobal
4.11:
представляет
whatever here","From: [EMAIL PROTECTED]: text/plain;
charset=\"utf-8\"\n");


Expected result:
----------------
Subject retainining all UTF-8 characters.

Actual result:
--------------
Subject:
 е  ник TakingITGlobal 4.11:  
едп инима ел  
во

-- 
Edit bug report at http://bugs.php.net/?id=30724&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30724&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30724&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30724&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30724&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30724&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30724&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30724&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30724&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30724&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30724&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30724&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30724&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30724&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30724&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30724&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30724&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30724&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30724&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30724&r=mysqlcfg

Reply via email to