$Ebcdic: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
<p>
<p>
Not all strings are for display. Question marks are usually the result of trying to print ASCII characters on an EBCDIC machine.</p>
Not all strings are for display. Question marks are usually the result of trying to print ASCII characters on an EBCDIC machine.</p>
<p>The $A2E function also provides ASCII to EBCDIC translation, and is longstring capable.</p>
<p>The [[$A2E|$A2E]] function also provides ASCII to EBCDIC translation, and is longstring capable.</p>


[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Latest revision as of 15:34, 9 January 2018

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.

The $A2E function also provides ASCII to EBCDIC translation, and is longstring capable.