$Ebcdic

From m204wiki
Revision as of 17:31, 8 September 2014 by Dme (talk | contribs)
Jump to navigation Jump to search

Function

The $Ebcdic function converts an input string, assumed to be ASCII, into EBCDIC, thus performing the reverse process of the $Ascii function. For example:

%x = $ebcdic(%x)

The translation table can be modified when necessary at your site. The source code is delivered in the FUNU module.

Not all strings are for display. Question marks are usually the result of trying to print ASCII characters on an EBCDIC machine.