Yes. Use the encode method to convert. Rockets port uses enhanced ASCII just like the most recent Node release on z/OS
> On 26 Mar 2020, at 9:40 pm, Raphael Jacquot <sxp...@sxpert.org> wrote: > >> On 3/26/20 2:29 PM, Paul Gilmartin wrote: >>> On Thu, 26 Mar 2020 06:30:15 -0500, Erik Janssen wrote: >>> >>> Today I noticed >>> https://developer.ibm.com/mainframe/2020/03/24/python-for-z-enablement/ >>> where IBM announces 'IBM intends to enable Python on z/OS together with the >>> open source community'. The whole announcement never mentions Rocket's port >>> of python that has long been available (and has often been referred to by >>> IBM in many documents). Is IBM intending to deliver their own port, or have >>> upstream support for z/os in the python base? Does anybody have more >>> insight into what direction IBM is taking with this statement? >>> >> Strange also in view of a position taken several years ago by >> the Python faction of the open source community: >> https://bugs.python.org/issue1298 >> >> However, I understand van Rossum's role in Python is later >> diminished. >> >> Container? > > the problem pointed by the issue above is related to charset. > python3 fixes the problem, by using utf8 internally, and reading stuff > from files as binary bytes (in a bytes sequence object) > I suspect this may have fixed the issues raised there. > > Raph > >> -- gil >> >> ---------------------------------------------------------------------- >> 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN