Skip to end of metadata
Go to start of metadata

Author: Eddy De Clercq
Submitted: 24/01/2007

The main purpose of this FM is to convert the special characters in a text to ISO HTML code in order to show. It will also convert characters with a special function, like < and >, to ISO codes. This enables the user to show a text with HTML code in it, without the browser interpreting that HTML code.

Comment: Dagfinn Parnas
As far as I can see from the code, this code expects the input to contain no html entities such as &. If this is given as input, the code will incorrectly try to escape it once more so that the result of encoding & will be &

Comment: Eddy De Clercq
That's indeed the case. Maybe it might be useful to add an optional parameter in order to let decide if the & needs to be translated or not.