entity2Unicode

Converts a named HTML entity to its equivalent Unicode codepoint.

  1. dchar entity2Unicode(cstring entity)
  2. dchar entity2Unicode(hash_t hash)
    dchar
    entity2Unicode
    (
    hash_t hash
    )

Return Value

Type: dchar

The entity's value or 0 if it does not exist.

Meta