Roundup Tracker - Issues

Issue 900046

classification
Eudora doesn't recognize utf-8
Type: Severity: normal
Components: Mail interface Versions:
process
Status: closed fixed
:
: richard : gimni, richard
Priority: normal :

Created on 2004-02-19 01:45 by gimni, last changed 2004-03-01 00:20 by richard.

Files
File name Uploaded Description Edit Remove
eudora-patches.tgz gimni, 2004-02-25 12:53
Messages
msg1111 Author: [hidden] (gimni) Date: 2004-02-19 01:45
Please note: Eudora still doesn't recognize utf-8, be
it in email content, subject or adresses... and it
probably never will...

And, of course, I have some customers that are still
using Eudora... :-)

I made the following patches:

+ in site-packages/roundup/rfc2822.py: 
- added an optional charset attribute to the
encode_header function, defaulting to utf-8:

  def encode_header(header, charset='utf-8')

and quote the message accordingly to the charset;

+ in $tracker/config.py:
- added an EMAIL_CHARSET option, that I set to
'iso-8859-1' where I want to keep compatibility with
Eudora;

+ in site-packages/roundup/roundupdb.py:
- in the IssueClass.send_message method, I convert the
content, subject and adresses from utf-8 to the
specified self.db.config.EMAIL_CHARSET option.
msg1112 Author: [hidden] (richard) Date: 2004-02-23 05:41
Logged In: YES 
user_id=6405

Have made the changes to CVS for HEAD and 0.6 maint 
branch. 
 
We love Eudora. 
msg1113 Author: [hidden] (gimni) Date: 2004-02-25 12:53
Logged In: YES 
user_id=603270

Richard, I forgot to join my patches against 0.6.4. So here they 
are...

Also, I checked your patch in 0.6.6 and it seems that you don't 
encode the message body. Unfortunately, Eudora doesn't like 
UTF-8 in body either... :-)
msg1114 Author: [hidden] (richard) Date: 2004-02-25 22:44
Logged In: YES 
user_id=6405

You're kidding me! 
 
Man, Eudora is such a piece of crap. So many email 
standards that it simply can't cope with! 
 
I'll look into getting your patches into 0.6.7 
msg1115 Author: [hidden] (richard) Date: 2004-02-29 00:52
Logged In: YES 
user_id=6405

OK, I've fixed the body stuff (and some header 
inconsistencies too) 
 
I'll try to get 0.6.7 out ASAP. 
 
Would you be able to test the CVS maint-0-6 code for me 
before I release it? 
 
msg1116 Author: [hidden] (gimni) Date: 2004-02-29 01:33
Logged In: YES 
user_id=603270

With pleasure, but I will not be able to do it before
tuesday... :-/

I'm in the middle of deploying subversion version control
for tracking roundup releases and our own developments...

I'll get back to you on this asap.
msg1117 Author: [hidden] (richard) Date: 2004-02-29 01:53
Logged In: YES 
user_id=6405

Thanks! 
msg1118 Author: [hidden] (richard) Date: 2004-03-01 00:20
Logged In: YES 
user_id=6405

I've made the release anyway, as people were running into 
the missing EMAIL_CHARSET var bug I introduced. Fingers 
crossed. 
History
Date User Action Args
2004-02-19 01:45:13gimnicreate