This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hyeshik.chang
Recipients gvanrossum, hyeshik.chang, josm, lemburg
Date 2008-06-26.12:05:20
SpamBayes Score 0.015459309
Marked as misclassified No
Message-id <1214481969.91.0.279753094573.issue1276@psf.upfronthosting.co.za>
In-reply-to
Content
Added a patch that implements codecs for CJK Macintosh encodings.
I tried to implement that just alike the other existing CJK codecs,
but it required many inefficient mapping tables due to their odd
mappings (like this: u'ABCDE' <-> 'ab' AND u'ABCD' <-> 'ac'!).

So, I decided to implement a general extension codec wrapper that
can be easily modified by dictionaries given by Python code.
Because all Mac CJK encodings have codecs that implement their base
encodings, I just put their difference in Python codec code.
The extension mechanism may be reused in customized codecs for
in-house applications or legacy encoding supports.

The first patch was generated for 2.6 trunk.  I'm working on porting
it to 3.0.
History
Date User Action Args
2008-06-26 12:06:10hyeshik.changsetspambayes_score: 0.0154593 -> 0.015459309
recipients: + hyeshik.chang, lemburg, gvanrossum, josm
2008-06-26 12:06:09hyeshik.changsetspambayes_score: 0.0154593 -> 0.0154593
messageid: <1214481969.91.0.279753094573.issue1276@psf.upfronthosting.co.za>
2008-06-26 12:05:35hyeshik.changlinkissue1276 messages
2008-06-26 12:05:35hyeshik.changcreate