All code pages are equal, but some are more equal than others. You can 
faithfully convert between a Unicode string containing only characters in the 
Basic Latin and Latin-1 blocks and an ISO 8859-1 string. Whether using iconv 
under the covers is a viable option is a separate question.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Andrew Rowley [and...@blackhillsoftware.com]
Sent: Thursday, July 13, 2023 12:45 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Python 3.11 on z/OS - UTF-8 errors

On 13/07/2023 1:59 pm, Seymour J Metz wrote:
> UTF-8 is just an encoding of Unicode; not a character set. All of ISO-8859-1 
> is part of Unicode.

Yes, but the code is stored in git as UTF-8 and defined as UTF-8 when
working on other platforms. You can specify the
zos-working-tree-encoding is ISO-8859-1... it seems like this conversion
could cause problems.

Alternatively, zos-working-tree-encoding of UTF-8 presumably transfers
the data without conversion, but it sounds like some programs have
problems using it?

Normally, I think I want IBM-1047 which has the same potential
conversion issues to/from git... you just have to be careful editing on
other platforms.

--
Andrew Rowley
Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to