[ python-Feature Requests-843590 ] 'macintosh' encoding alias for
'mac_roman'
SourceForge.net
noreply at sourceforge.net
Sun Dec 19 00:01:48 CET 2004
Feature Requests item #843590, was opened at 2003-11-17 10:29
Message generated for change (Comment added) made by lemburg
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: M.-A. Lemburg (lemburg)
Date: 2004-12-19 00:01
Message:
Logged In: YES
user_id=38388
I have no problem adding aliases to the encodings package,
but please provide some reference that this actually is a
valid alias for the mac_roman encoding. There are quite a
few other mac_* encodings to choose from as well, so the
coice is not obvious to me.
----------------------------------------------------------------------
Comment By: Jens Klein (yenzenz)
Date: 2004-12-18 23:49
Message:
Logged In: YES
user_id=474612
+1 from me
Archetypes (a Zope framework) runs also in a problem because of the
missing alias.
more infos:
https://sourceforge.net/tracker/index.php?
func=detail&aid=1068001&group_id=75272&atid=543430
----------------------------------------------------------------------
Comment By: Stuart Bishop (zenzen)
Date: 2003-11-17 11: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 11: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