MarkupEntityCodec.decodeEntity

Converts an encoded entity to a unicode character. The entity may be either: - a numeric character reference (eg "á" for 'á'), or - a named ISO8859-1/15 (Latin 1/9) entity (eg "ß" for 'ß').

class MarkupEntityCodec(E : IEntitySet)
dchar
decodeEntity
(
Char
)
(
Char[] entity
)

Parameters

entity Char[]

entity content to convert; trailing '&' and terminating ';' are expected

Return Value

Type: dchar

the unicode character or InvalidUnicode on failure

Meta