unicode_html40ent_lookup(3)

unicode_html40ent_lookup3

Look up unicode character for an html 4.0 entity

Usage

#include <courier-unicode.h>

char32_t unicode_html40ent_lookup(const char *entity);

Overview

unicode_html40ent_lookup() returns the unicode character represented by an HTML 4.0 entity. The entity is a string, such as “quot”, in which case unicode_html40ent_lookup() returns 34.

Additionally, unicode_html40ent_lookup() parses a numerical entity given as “#decimal” or “#xhex”.

unicode_html40ent_lookup() returns 0 if the entity is not a known entity that represents a single unicode character.

Releases

5 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 11–12
  4. 13

Author

Sam Varshavchik

Author

From libcourier-unicode-dev 2.3.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.