[ python-Feature Requests-843590 ] 'macintosh' encoding alias for 'mac_roman'

SourceForge.net noreply at sourceforge.net
Mon Nov 17 05:47:21 EST 2003


Feature Requests item #843590, was opened at 2003-11-17 20:29
Message generated for change (Comment added) made by zenzen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=843590&group_id=5470

Category: Unicode
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stuart Bishop (zenzen)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'macintosh' encoding alias for 'mac_roman'

Initial Comment:
OS X's Mail.app can generate Subject lines like:
Subject: =?MACINTOSH?B?vLu7vMGqo6KwpKalu7w=?=

(Which decodes to 
'\xbc\xbb\xbb\xbc\xc1\xaa\xa3\xa2\xb0\xa4\xa6\xa5\xbb\xb
c')

This appears to be what Python calls the mac_roman
encoding. I suggest adding 'macintosh' as an alias to
'mac_roman' to encodings/aliases.py to allow the email
package to decode these headers.


----------------------------------------------------------------------

>Comment By: Stuart Bishop (zenzen)
Date: 2003-11-17 21:47

Message:
Logged In: YES 
user_id=46639

The test was just a sequence of random high-bit characters:

ºªªº¡™£¢?§¶•ªº

(lets see if the web interface lets that through).

----------------------------------------------------------------------

Comment By: M.-A. Lemburg (lemburg)
Date: 2003-11-17 21:12

Message:
Logged In: YES 
user_id=38388

Are you sure ? The decoded string you give does not look
like anything readable...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=843590&group_id=5470



More information about the Python-bugs-list mailing list