#5778: Email subjects not encoded properly
------------------------------------------------------------+---------------
   Reporter:  Thomas Petazzoni <[EMAIL PROTECTED]>  |                Owner:  
nobody        
     Status:  new                                           |            
Component:  Core framework
    Version:  SVN                                           |           
Resolution:                
   Keywords:                                                |                
Stage:  Accepted      
  Has_patch:  0                                             |           
Needs_docs:  0             
Needs_tests:  0                                             |   
Needs_better_patch:  0             
------------------------------------------------------------+---------------
Comment (by tpetazzoni):

 You're right, it does some pointless encoding when the string is pure
 ASCII, for example:

 From: =?utf-8?q?Trivialibre?= <[EMAIL PROTECTED]>

 In that case, the =?utf-8?q? stuff is useless.

 So, instead of verifying if the string is Unicode (with force_unicode),
 the code should probably check if the string is ASCII 7bits only or not.
 Do you want me to provide an improved fix, or are you going to do it ?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5778#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to