Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50546 > unrolled thread
| Started by | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| First post | 2013-07-12 14:35 -0400 |
| Last post | 2013-07-15 20:47 -0400 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: UTF-EBCDIC encoding? Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-12 14:35 -0400
Re: UTF-EBCDIC encoding? Owen Marshall <o@owenmarshall.invalid> - 2013-07-16 00:40 +0000
Re: UTF-EBCDIC encoding? Roy Smith <roy@panix.com> - 2013-07-15 20:47 -0400
| From | Joel Goldstick <joel.goldstick@gmail.com> |
|---|---|
| Date | 2013-07-12 14:35 -0400 |
| Subject | Re: UTF-EBCDIC encoding? |
| Message-ID | <mailman.4650.1373654122.3114.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
On Fri, Jul 12, 2013 at 2:11 PM, Wayne Werner <wayne@waynewerner.com> 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<https://en.wikipedia.org/wiki/UTF-EBCDIC> > -- > http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list> > I can't help you. I'm astonished. Trying to imagine the work environment where this technology would be necessary -- Joel Goldstick http://joelgoldstick.com
[toc] | [next] | [standalone]
| From | Owen Marshall <o@owenmarshall.invalid> |
|---|---|
| Date | 2013-07-16 00:40 +0000 |
| Message-ID | <slrnku95jj.c0v.o@owen-marshall-4.local> |
| In reply to | #50546 |
On 2013-07-12, Joel Goldstick <joel.goldstick@gmail.com> wrote:
> --047d7bdc8be492d67804e154c580 Content-Type: text/plain; charset=UTF-8
>
> On Fri, Jul 12, 2013 at 2:11 PM, Wayne Werner <wayne@waynewerner.com>
> 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<https://en.wikipedia.org/wiki/UTF-EBCDIC>
>> --
>> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.org/mailman/listinfo/python-list>
>>
>
>
> I can't help you. I'm astonished. Trying to imagine the work
> environment where this technology would be necessary
>
Ask any poor shmuck who has ever had to consume files created by the
government -- especially stuff from the Social Security Administration
-- and they'll tell horror stories about EBCDIC.
Typically I've seen ``iconv'' used for this task, so I'd love to see a
native solution...
--
-owen
[toc] | [prev] | [next] | [standalone]
| From | Roy Smith <roy@panix.com> |
|---|---|
| Date | 2013-07-15 20:47 -0400 |
| Message-ID | <roy-FE536A.20473115072013@70-1-84-166.pools.spcsdns.net> |
| In reply to | #50718 |
In article <slrnku95jj.c0v.o@owen-marshall-4.local>, Owen Marshall <o@owenmarshall.invalid> wrote: > On 2013-07-12, Joel Goldstick <joel.goldstick@gmail.com> wrote: > > --047d7bdc8be492d67804e154c580 Content-Type: text/plain; charset=UTF-8 > > > > On Fri, Jul 12, 2013 at 2:11 PM, Wayne Werner <wayne@waynewerner.com> > > 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<https://en.wikipedia.org/wiki/UT > >> F-EBCDIC> > >> -- > >> http://mail.python.org/**mailman/listinfo/python-list<http://mail.python.or > >> g/mailman/listinfo/python-list> > >> > > > > > > I can't help you. I'm astonished. Trying to imagine the work > > environment where this technology would be necessary > > > > Ask any poor shmuck who has ever had to consume files created by the > government -- especially stuff from the Social Security Administration > -- and they'll tell horror stories about EBCDIC. > > Typically I've seen ``iconv'' used for this task, so I'd love to see a > native solution... Unix command-line: dd conv=ascii or perhaps dd conv=ascii,unblock cbs=80 ibs=80 if=/dev/cr of=/dev/lp (*) (*) My dd-fu has tarnished with age. Forgive me if I've munged the incantation somewhat.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web