string.iso8859encode
| Syntax |
string.iso8859encode (s, adrTable)
|
| Params |
s is a string whose text you want to encode with HTML entities. adrTable is the address of a table mapping character codes to their replacement strings.
|
| Action |
Encodes characters as HTML entities.
|
| Returns |
A string, the result.
|
| Examples |
string.iso8859encode ("Voulez-vous du thé?", @html.data.iso8859.win) //the é will be encoded » "Voulez-vous du thé?"
|
| Notes |
There are two standard tables already provided: html.data.iso8859.win and html.data.iso8859.mac. iso-encoding is normally done automatically during macro processing. It's rare that you will need to call this verb. You can use this verb to do fast character-to-string replacements by creating your own table.
|
| See also |
string.latinToMac
|