develooper Front page | perl.perl5.porters | Postings from September 2011

Re: Removing =?utf-8?Q?perl=E2=80=99s_EBCD?==?utf-8?Q?IC_support_could_be_profitabl?==?utf-8?Q?e?= to z/OS users [was: Speak up now about your use ofEBCDIC]

Thread Previous | Thread Next
Aristotle Pagaltzis
September 26, 2011 23:07
Re: Removing =?utf-8?Q?perl=E2=80=99s_EBCD?==?utf-8?Q?IC_support_could_be_profitabl?==?utf-8?Q?e?= to z/OS users [was: Speak up now about your use ofEBCDIC]
Message ID:
* Craig A. Berry <> [2011-09-26 23:10]:
> [once again adding perl-mvs to the CC list. Going out of our way to
> avoid contact with EBCDIC users is probably not the best way to figure
> out what they actually do with Perl.]

I had to reply-all and fix up the recipients manually, instead of using
list-reply, in order to keep it in. Do not assume malice.

> It's difficult to know without actual domain expertise, but I suspect
> this is just wishful thinking. The fact that z/OS now has Unicode
> support doesn't mean any particular site can simply abandon EBCDIC
> willy nilly at no cost.
> A far more likely scenario would be someone with programs comprised of
> millions of lines of COBOL or PL/I that are used to maintain a data
> store in EBCDIC. At some point it became desirable to present some of
> that data to the outside world, and Perl was chosen as the natural
> swiss-army-chainsaw-interweb-duct-tape solution. Sure, the data are
> converted to ASCII somewhere along the way, and it's possible to
> imagine re-architecting such a solution so that the conversion happens
> before a UTF-8-based Perl sees it instead of after an EBCDIC-based
> Perl sees it.

That’s not what I’d expect would happen.

The most likely scenario to me seems that the UTF-8 support in z/OS
would be used to get perl running at all; at that point you can use
Encode to split the difference. There’s no need to arrange for munging
the data before it gets into Perl code, the only question is whether you
get perl running at all.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About