Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.069 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; '[1]:': 0.09; 'python': 0.11; '(relatively': 0.16; 'bit...': 0.16; 'ebcdic': 0.16; 'subject:UTF': 0.16; 'unpack': 0.16; 'wayne': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'file,': 0.19; 'second': 0.26; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'url:wiki': 0.31; 'url:wikipedia': 0.31; 'anyone': 0.31; 'file': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'tool': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; '12,': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'skip:u 10': 0.60; 'world': 0.66; 'mail,': 0.68; 'jul': 0.74; 'gain': 0.79; 'worthwhile.': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yQt8lmCyJSH9vHwxxwCdkW3kpHqJdkXuDdlXnTFNug4=; b=QeqR0HPF6E2hbvw/6cIG5QOkB8++jz83/WgNLD79fgWK4EUqzTJRtlBBHq+7MuvnCH gJwnAx3SiAAESO6zZxJ78GmP8dJRAvpqdZCAQJYglQucu7o1BnmvlVaLMUSjGshx9X+M pnssZVGB+lFkQE7JCsNaf8MI6wVD0mwupDAR4oh58pn4qkAWm6rqSuIEDQ/ouyUt1kO/ Z8bTtxgDNzykk/j7yL8hm48vNxeG53Af2a3Vm2gUU441Kp4UBLFnu6wxmKpvoAsBBdxg 2yAiz9UbxhSxdP9K+OU5F8e0MullikxPCIgs4u8DqFhsPcKPPzY56BcBZl7rRort+t8V br/A== MIME-Version: 1.0 X-Received: by 10.194.22.1 with SMTP id z1mr28639806wje.14.1373771049008; Sat, 13 Jul 2013 20:04:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 14 Jul 2013 00:04:08 -0300 Subject: Re: UTF-EBCDIC encoding? From: Jorge Mazzonelli To: python-list@python.org Content-Type: multipart/alternative; boundary=047d7b5d57c261030404e16ffffa X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 86 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373771051 news.xs4all.nl 15914 [2001:888:2000:d::a6]:50273 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50625 --047d7b5d57c261030404e16ffffa Content-Type: text/plain; charset=UTF-8 Hi, Regarding your second part of your mail, I have used in the past this page[1] as a base for code to process a mainframe PS file with packed decimals. May be it can help you a bit... Best regards, Jorge [1]: http://www.linuxtopia.org/online_books/programming_books/python_programming/python_ch34s05.html On Fri, Jul 12, 2013 at 3:11 PM, Wayne Werner wrote: > Is anyone aware of a UTF-EBCDIC[1] decoder? > > While Python does have a few EBCDIC dialects in the codecs, it does not > have the (relatively new?) UTF-EBCDIC one. > > Additionally, if anyone is aware of a Python tool that can unpack a > mainframe PDS file, that would also be worthwhile. > > > Thanks, > Wayne > > [1]: https://en.wikipedia.org/wiki/**UTF-EBCDIC > -- > http://mail.python.org/**mailman/listinfo/python-list > -- -- (\__/) (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature to help him gain world domination. --047d7b5d57c261030404e16ffffa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
Regarding your second part of = your mail, I have used in the past this page[1] as a base for code to proce= ss a mainframe PS file with packed decimals. May be it can help you a bit..= .

Best regards,

Jorge

[1]: http://www.linuxtopia.org/online_books/programming_books/pytho= n_programming/python_ch34s05.html



On = Fri, Jul 12, 2013 at 3:11 PM, Wayne Werner <wayne@waynewerner.com&= gt; wrote:
Is anyone aware of a UTF-EBCDIC[1] decoder?<= br>
While Python does have a few EBCDIC dialects in the codecs, it does not hav= e the (relatively new?) UTF-EBCDIC one.

Additionally, if anyone is aware of a Python tool that can unpack a mainfra= me PDS file, that would also be worthwhile.


Thanks,
Wayne

[1]: https://en.wikipedia.org/wiki/UTF-EBCDIC=
--
http://mail.python.org/mailman/listinfo/python-list



--
--
(\= __/)
(=3D'.'=3D)This is Bunny. Copy and paste bunny into your(")_(")signature to help him gain world domination.=20
--047d7b5d57c261030404e16ffffa--