1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
type
{ Type : tableau contenant la translation de caractère }
CharsetTable = array[0..255] of string ;
PCharsetTable = ^CharsetTable;
{ Type : contient le nom du charset, la valeur du caractère de début et de fin,
pointer sur le tableau de conversion }
htmlEntityMap = record
charset : String ;
startBase : Integer ;
endBase : Integer ;
tableCharset : PCharsetTable ;
end ;
const
entryCp1252 : array[0..31] of string = (
'euro', '', 'sbquo', 'fnof', 'bdquo', 'hellip', 'dagger',
'Dagger', 'circ', 'permil', 'Scaron', 'lsaquo', 'OElig',
'', '', '', '', 'lsquo', 'rsquo', 'ldquo', 'rdquo',
'bull', 'ndash', 'mdash', 'tilde', 'trade', 'scaron', 'rsaquo',
'oelig', '', '', 'Yuml'); |
Partager