The string STR1, which is a Fortran 77 CHARACTER string, is
returned in STR2 translated into a form which can be written and
subsequently read correctly by a machine which uses the EBCDIC
character set.
Any characters which are not represented in the
EBCDIC character set are translated to EBCDIC SPACE. Non-printable
characters are translated where possible.