
Hye-Shik Chang wrote:
On Sun, Jan 18, 2004 at 10:24:12PM +0100, "Martin v. L?wis" wrote:
I also find that installing JapaneseCodecs on top of a CJK-enabled Python 2.4 causes shift_jis to use the CJK codec, not the japanese codec.
Aah. We need to change codec lookup order of encodings.search_function to enable to override default codec by 3rd party one. With attached patch, I could get JapaneseCodecs's one.
Now, I admit that CJK codecs are obviously un-backportable to 2.3 due to this change. ;-)
I think it's a good idea, to have the aliases dictionary checked before trying to do the import. I'll fix that. Backporting the fix should also be possible, since it is not related to any particular codec package. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Jan 18 2004)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::