> On 13 Jul 2023, at 12:50 pm, Andrew Rowley <and...@blackhillsoftware.com> > wrote: > > On 13/07/2023 2:00 pm, kekronbekron wrote: >> Andrew - could you please explain what you mean by "checkout in git as UTF8". > > I mean setting the zos-working-tree-encoding for the file to UTF-8. I don't > actually do this but it appears to be possible.
Git works fine with UTF-8. The most recent version of Rocket Git defaults to UTF-8 for the git-encoding. This may impact some migrations in which case you may have to rewrite the history. Processing files tagged with UTF-8 will have unpredictable results using Rocket ported tools such as Bash, sed, Perl etc. I’m not sure about IBM’s Python port. > > Git encodings are quite confusing. I find it frustrating that it seems to > require you to tag every file added on z/OS, even if you have defined the > encoding in .gitattributes. > > I did briefly try Maven on z/OS but I think I had the same problem as you. I > quickly decided I didn't need to do that and haven't investigated any further. Maven works fine on z/OS with -Dfile.encoding=ISO8859-1. So does Gradle, although I’ve tweaked it to use “-xsharedclasses” and nobbled the daemon. > > -- > > 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