Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Paul Gilmartin
I've checked the 2020 September refresh. On Tue, 17 Nov 2020 09:12:17 -0600, Paul Gilmartin wrote: > >Does "conversion errors" mean "invalid octet sequences" in the source >as well as characters valid in the source CCSID but having no equivalent >in the target charact set. In the former case,

Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Seymour J Metz
10:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC On Tue, 17 Nov 2020 13:29:32 +, Seymour J Metz wrote: >NFW; unless the documentation describes such bizarre behavior, it should *NOT* >translate characters to SUB when there is a correct transla

Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Seymour J Metz
.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, November 17, 2020 10:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting b

Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Paul Gilmartin
On Tue, 17 Nov 2020 13:29:32 +, Seymour J Metz wrote: >NFW; unless the documentation describes such bizarre behavior, it should *NOT* >translate characters to SUB when there is a correct translation. If you want >to preserve the length then use a character set in which all characters are 8

Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Seymour J Metz
://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List on behalf of Charles Mills Sent: Monday, November 16, 2020 4:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC If you tell FTP that the non-EBCDIC file

Re: FTP converting between UTF-8 and EBCDIC

2020-11-17 Thread Cameron Conacher
is not treating the file as UTF-8. It works fine when >> we specify "site mbdataconn=(ibm-1140,utf-8) encoding=mbcs". >>> >>> >>> From: IBM Mainframe Discussion List on >> behalf of Charles Mills >>> Sent:

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Wayne Bickerdike
s > > Sent: Monday, November 16, 2020 2:14 PM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: FTP converting between UTF-8 and EBCDIC > > > > If you tell FTP that the non-EBCDIC file is UTF-8 then FTP *should* > convert > > accented characters and such to EBCDIC SUB

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Cameron Conacher
Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Frank Swarbrick > Sent: Monday, November 16, 2020 10:16 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: FTP converting between UTF-8 and EBCDIC > > The record is made up of multip

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Frank Swarbrick
on behalf of Charles Mills Sent: Monday, November 16, 2020 2:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC If you tell FTP that the non-EBCDIC file is UTF-8 then FTP *should* convert accented characters and such to EBCDIC SUB (X'3F') rather than to two bytes. Sh

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Charles Mills
Swarbrick Sent: Monday, November 16, 2020 10:16 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC The record is made up of multiple fixed-length fields. I guess the field in question technically didn't overflow. But rather it "expanded" the field b

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Frank Swarbrick
___ From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Monday, November 16, 2020 10:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC On Mon, 16 Nov 2020 17:26:12 +, Fr

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Paul Gilmartin
On Mon, 16 Nov 2020 17:26:12 +, Frank Swarbrick wrote: >Yes, it "overflowed" a fixed-length field. x'C3A1' in the source file was >treated as two separate "ASCII" characters, x'C3' and x'A1'. Since those >don't exist in the EBCDIC code page I am using they just get converted to two

Re: FTP converting between UTF-8 and EBCDIC

2020-11-16 Thread Frank Swarbrick
dmarc-requ...@listserv.ua.edu> Sent: Sunday, November 15, 2020 8:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC On Mon, 16 Nov 2020 02:28:06 +, Frank Swarbrick wrote: >We don't use Unix for any of our production business applications. If we

Re: FTP converting between UTF-8 and EBCDIC

2020-11-15 Thread Paul Gilmartin
On Mon, 16 Nov 2020 02:28:06 +, Frank Swarbrick wrote: >We don't use Unix for any of our production business applications. If we were >"starting from scratch" I imagine we might choose to use Unix files for many >things, but I can't see us going this direction now. > >This is an existing

Re: FTP converting between UTF-8 and EBCDIC

2020-11-15 Thread Frank Swarbrick
___ From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Sunday, November 15, 2020 4:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: FTP converting between UTF-8 and EBCDIC On Sun, 15 Nov 2020 22:44:05 +,

Re: FTP converting between UTF-8 and EBCDIC

2020-11-15 Thread Paul Gilmartin
On Sun, 15 Nov 2020 22:44:05 +, Frank Swarbrick wrote: >I couldn't find this actually stated anywhere, but it looks like if you want >to use z/OS FTP to transmit a UTF-8 encoded file to (and I assume from) an >EBCDIC codepage you have to use multi-byte encoding instead of single byte

FTP converting between UTF-8 and EBCDIC

2020-11-15 Thread Frank Swarbrick
I couldn't find this actually stated anywhere, but it looks like if you want to use z/OS FTP to transmit a UTF-8 encoded file to (and I assume from) an EBCDIC codepage you have to use multi-byte encoding instead of single byte encoding. The z/OS file also has to be variable length, not fixed