Mike Fulton wrote: > I would like to request the __MVS__ macro be added so that z/OS will > default to UTF-8, e.g. > > # if (defined __APPLE__ && defined __MACH__) || defined __BEOS__ || defined > __HAIKU__ || defined __MVS__ > codeset = "UTF-8"; > # else
This doesn't seem right. I understand from [1] that the primary ASCII- compatible encoding on z/OS is ISO-8859-1, not UTF-8. > I am currently using this patch for man-db so that it can correctly render > UTF-8 man pages. man-db relies on groff, and consists of several programs. It's likely that one of these programs needs a modification. Does "groff -Tutf8 -mandoc man7/groff_char.7 | less -R" (in a UTF-8 console) produce good-looking output? If yes, then the problem is likely in the man-db package, otherwise in the groff package. Bruno [1] https://www.ibm.com/docs/en/zos/2.2.0?topic=functions-e2a-s-convert-string-from-ebcdic-ascii