Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding for Code Page 273 used by EBCDIC Germany Austria #41407

Closed
mbieren mannequin opened this issue Jan 7, 2005 · 18 comments
Closed

Encoding for Code Page 273 used by EBCDIC Germany Austria #41407

mbieren mannequin opened this issue Jan 7, 2005 · 18 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@mbieren
Copy link
Mannequin

mbieren mannequin commented Jan 7, 2005

BPO 1097797
Nosy @malemburg, @akuchling, @pitrou, @devdanzin, @bitdancer
Files
  • CP273.TXT
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2013-11-10.18:49:16.914>
    created_at = <Date 2005-01-07.11:44:53.000>
    labels = ['type-feature', 'library']
    title = 'Encoding for Code Page 273 used by EBCDIC Germany Austria'
    updated_at = <Date 2014-03-08.02:04:20.040>
    user = 'https://bugs.python.org/mbieren'

    bugs.python.org fields:

    activity = <Date 2014-03-08.02:04:20.040>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-11-10.18:49:16.914>
    closer = 'akuchling'
    components = ['Library (Lib)']
    creation = <Date 2005-01-07.11:44:53.000>
    creator = 'mbieren'
    dependencies = []
    files = ['6420']
    hgrepos = []
    issue_num = 1097797
    keywords = ['patch']
    message_count = 18.0
    messages = ['47493', '47494', '47495', '47496', '47497', '47498', '82127', '82138', '82232', '82235', '99843', '99848', '114990', '202546', '202547', '202548', '202600', '212919']
    nosy_count = 8.0
    nosy_names = ['lemburg', 'akuchling', 'pitrou', 'ajaksu2', 'mbieren', 'r.david.murray', 'BreamoreBoy', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue1097797'
    versions = ['Python 3.2']

    @mbieren
    Copy link
    Mannequin Author

    mbieren mannequin commented Jan 7, 2005

    CP273.TXT to be used with gencodec.py. Enables
    Communication with "old" IBM Mainframes

    @mbieren mbieren mannequin added stdlib Python modules in the Lib dir labels Jan 7, 2005
    @malemburg
    Copy link
    Member

    Logged In: YES
    user_id=38388

    Can you provide a reference of where and how this encoding
    is used ?

    We also need information of where the attached file originated.

    Thanks.

    @mbieren
    Copy link
    Mannequin Author

    mbieren mannequin commented Jan 7, 2005

    Logged In: YES
    user_id=1074928

    The encoding is used on IBM Mainframes here in Germany
    and Austria. Mostly on "old" VM/VSE Machines. Rawdata is
    transferred via MQSeries and then encoded from "cp273" to
    "latin_1".

    The file has been translated from the original IBM RFC by
    myself.

    www.unicode.org has no equivalent file on their FTP-Servers
    (ftp://ftp.unicode.org/Public/MAPPINGS/).

    CP273 is an alias for this charset. source: IBM NLS RM Vol2
    SE09-8002-01, March 1990

    Regards

    Michael

    @akuchling
    Copy link
    Member

    Given that the patch author has provided further details, can this patch be accepted now?

    @malemburg
    Copy link
    Member

    I guess so.

    Note that it's not a patch, but the template to be used with gencodec.py.

    @mbieren
    Copy link
    Mannequin Author

    mbieren mannequin commented Dec 22, 2006

    Yes the patch can be included. The file should be used by gencodec.py

    @devdanzin
    Copy link
    Mannequin

    devdanzin mannequin commented Feb 14, 2009

    Looks like it was never included. I guess '"old" IBM Mainframes' is a
    dwindling user base, should this one be closed?

    @devdanzin devdanzin mannequin added type-feature A feature request or enhancement labels Feb 14, 2009
    @pitrou
    Copy link
    Member

    pitrou commented Feb 15, 2009

    A Google search for "cp273 encoding" reveals that at least one other
    person needed it:
    http://www.stroeder.com/pylib/encodings/cp273.py

    @mbieren
    Copy link
    Mannequin Author

    mbieren mannequin commented Feb 16, 2009

    "Old IBM Mainframes" are widely used in the financial industry. It
    would be good if the patch is included

    @malemburg
    Copy link
    Member

    Like I said a few years: this can go in. Python is used a lot in the
    financial industry.

    The code page is referenced in this RFC:

    http://rfc.dotsrc.org/rfc/rfc1345.html

    This page has a good comparison of the various IBM code pages as shipped
    with different tools (jdk, glibc, aix, etc.):

    http://www.haible.de/bruno/charsets/conversion-tables/RFC1345-IBM.html

    @akuchling
    Copy link
    Member

    I tried figuring out to rebuild the codecs using the scripts in Tools/unicode/ but failed. Is the use of that directory documented anywhere?

    @malemburg
    Copy link
    Member

    A.M. Kuchling wrote:

    A.M. Kuchling <lists@amk.ca> added the comment:

    I tried figuring out to rebuild the codecs using the scripts in Tools/unicode/ but failed. Is the use of that directory documented anywhere?

    See the Makefile in that directory - that's what I use to build the
    codecs.

    If you just want to create a single codec, have a look at the
    gencodec.py module doc-string.

    @BreamoreBoy
    Copy link
    Mannequin

    BreamoreBoy mannequin commented Aug 26, 2010

    The consensus is that this should have gone into Python years ago.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 10, 2013

    New changeset 7d9d1bcd7d18 by Andrew Kuchling in branch 'default':
    bpo-1097797: Add CP273 codec, and exercise it in the test suite
    http://hg.python.org/cpython/rev/7d9d1bcd7d18

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 10, 2013

    New changeset fa2581bbef44 by Andrew Kuchling in branch 'default':
    Add news entry for bpo-1097797; whitespace cleanup
    http://hg.python.org/cpython/rev/fa2581bbef44

    @akuchling
    Copy link
    Member

    Committed this to 3.4.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 11, 2013

    New changeset 93645b0b6750 by Andrew Kuchling in branch 'default':
    bpo-1097797: add the original mapping file
    http://hg.python.org/cpython/rev/93645b0b6750

    @bitdancer
    Copy link
    Member

    In changeset d843a1caba78 (I screwed up the issue number in the commit), I added aliases according to http://lists.w3.org/Archives/Public/ietf-charsets/2002JulSep/0153.html plus what appears to be the conventional alias of just the number, and added it to the codecs docs, making a wild guess based on the issue title that the Language is German.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants