Steve Howell writes:

 > respect to Kanji, and switches over to Python, and
 > changes his little wrapper shell script to say "python
 > -U" instead of "ruby -Kkcode"?  He could then start to
 > use non-Japanese Python modules while still writing
 > his own Python code in Japanese.

But that's not enough.  The problem is that the reason for -Kkcode is
that kcode != Unicode.  Japanese use several mutually incompatible
encodings, and they mix anarchically over the Internet.  What -K does
is allow you to specify which one you're giving to the interpreter at
runtime.

The analogy to -K would be if you get a English-language Python source
file from somewhere, look into it, realize it's from IBM, and run it
with "python -K ebcdic whizbang.py".  Same characters, only the bytes
are changed to confuse the innocent.  That's what -Kkcode is for.

_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to