|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack HTMLSupport Procedures and Functions HTMLEntityToAnsi|
|See also: AnsiToHTMLEntity, MakeStringHTMLCompatible, ResolveHTMLEntities, HTMLLat1Entities|
The function HTMLEntityToAnsi converts an HTML entity contained in parameter Entity into the corresponding ANSI character. Valid entities are the Latin-1 (ISO-8859-1) characters and the characters ", <, >, &, and a non-breaking space. The entities may be either encoded by their names, their decimal, or their hexadecimal representation.
If Entity contains an entity which is not recognized by the function HTMLEntityToAnsi a zero byte (#0) is returned.