[ python-Bugs-969415 ] CJK codecs list incomplete
SourceForge.net
noreply at sourceforge.net
Wed Jun 9 03:10:17 EDT 2004
Bugs item #969415, was opened at 2004-06-09 15:54
Message generated for change (Comment added) made by perky
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=969415&group_id=5470
Category: Documentation
Group: Python 2.4
>Status: Open
>Resolution: None
Priority: 5
Submitted By: Mike Brown (mike_j_brown)
>Assigned to: Nobody/Anonymous (nobody)
Summary: CJK codecs list incomplete
Initial Comment:
http://www.python.org/dev/doc/devel/whatsnew/node7.
html states that various CJK encodings have been
added, but the list given there does not match the list
on
http://www.python.org/dev/doc/devel/lib/node128.html.
In particular, missing from the latter list are all of the
aliases with hyphens:
shift-jis, shift-jisx0213, euc-jp, euc-jisx0213, iso-2022-
jp, iso-2022-jp-1, iso-2022-jp-2, iso-2022-jp-3, iso-
2022-jp-ext, euc-kr, iso-2022-kr
Since I successfully ran codecs.lookup() tests on a few
of the hyphenated aliases, I assume that the omission
of the hyphenated versions in the docs is merely an
oversight.
----------------------------------------------------------------------
>Comment By: Hye-Shik Chang (perky)
Date: 2004-06-09 16:10
Message:
Logged In: YES
user_id=55188
Reopened to consider the consistence with non-cjk codecs.
All the non-cjk codecs are written with hyphen even if their
realname is with underscore. (eg. iso8859-1 and iso8859_1.py)
Will changing cjk codecs's codec/alias names to use not
underscores but hyphens make docs more friendly?
----------------------------------------------------------------------
Comment By: Hye-Shik Chang (perky)
Date: 2004-06-09 16:01
Message:
Logged In: YES
user_id=55188
All hyphens are translated as underscores in encoding lookups.
So we may not need to provide encoding list with hyphens
additionally.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=969415&group_id=5470
More information about the Python-bugs-list
mailing list