table of contents
UNICODE_HTML40ENT_LO(3) | Courier Unicode Library | UNICODE_HTML40ENT_LO(3) |
NAME¶
unicode_html40ent_lookup - look up unicode character for an HTML 4.0 entity
SYNOPSIS¶
#include <courier-unicode.h>
char32_t unicode_html40ent_lookup(const char *entity);
DESCRIPTION¶
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.
SEE ALSO¶
AUTHOR¶
Sam Varshavchik
Author
05/18/2024 | Courier Unicode Library |