Japanese codecs (was Re: [Python-Dev] PEP 263 -- Python Source Code Encoding)

Barry A. Warsaw barry@zope.com
Wed, 27 Feb 2002 15:09:43 -0500


>>>>> "MvL" == Martin v Loewis <martin@v.loewis.de> writes:

    MvL> At the moment, declaring either eucJP or or Shift-JIS
    MvL> wouldn't work with the proposed implementation, anyway, since
    MvL> those encodings are not supported in the standard Python
    MvL> installation.

Which actually touches on something I wanted to bring up.  Why don't
we include the Japanese codecs with Python?  Is it just a size issue?

The gzip'd tarball of the JapaneseCodecs-1.4.3 is 258k, unpacked it's
3.2M.  Okay, so that's nontrivial, but I can think of 2 approaches:

- Have a second, sumo (no pun intended) release that inclues the
  codecs

- Include the gzip'd tarball and do a distutils install at Python
  install time

I bet we'd win some Ruby converts if we did this <wink>.  For
reference, I'm thinking about including the Japanese and Chinese
codecs with MM2.1 because it makes little sense to claim support for
those languages without them.

-Barry