Marc's Place

 

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
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
Privacy Statement