FN_E$ISO - Convert HTML to normal characters
Inclusion in RPG source
- E /COPY E$LIB/SRC(ILE),ES_E$ISO
. . .
. . .
I /COPY E$LIB/SRC(ILE),DS_E$UML
. . .
. . .
C /COPY E$LIB/SRC(ILE),FN_E$ISO
Invocation
- EXSR E$ISO
Input Parameters
- ISOXX (a80)
- Field to contain the text to convert.
Output Parameters
- ISOXX (a80)
- Field which contains the converted text.
What it does
- The routine tries to convert ISO HTML entities like ä to its ASCII 7 character, without accents. In this case, ä becomes A.
- The routine also converts all characters to uppercase.
Examples
-
* Text with HTML data: * C MOVELHTML ISOXX P 'Géén probleem' C EXSR E$DCP C MOVELISOXX #FIELD P 'GEEN PROBLEEM' *
Go to download page