[issue843590] 'macintosh' encoding alias for 'mac_roman'

Marc-Andre Lemburg report at bugs.python.org
Mon Jan 18 12:58:33 CET 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Here's another reference I found:

http://developer.apple.com/legacy/mac/library/documentation/mac/Text/Text-30.html

It appears that the "macintosh" encoding is the same as the MacRoman one, but without the character D9-FF. The document also suggests that it's a really old encoding.

Here's a comparison of various Mac Roman mappings:

http://www.haible.de/bruno/charsets/conversion-tables/Mac-Roman.html

These include the "macintosh" charset name as well.

For all practical purposes, it appears to be safe to alias "macintosh" to "mac-roman" and also add the other suggested aliases from the IANA registry.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue843590>
_______________________________________


More information about the Python-bugs-list mailing list