'\" t .\" Title: unicode_html40ent_lookup .\" Author: Sam Varshavchik .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 11/25/2020 .\" Manual: Courier Unicode Library .\" Source: Courier Unicode Library .\" Language: English .\" .TH "UNICODE_HTML40ENT_LO" "3" "11/25/2020" "Courier Unicode Library" "Courier Unicode Library" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" unicode_html40ent_lookup \- look up unicode character for an HTML 4\&.0 entity .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'char32_t\ unicode_html40ent_lookup('u .BI "char32_t unicode_html40ent_lookup(const\ char\ *" "entity" ");" .SH "DESCRIPTION" .PP \fBunicode_html40ent_lookup\fR() returns the unicode character represented by an HTML 4\&.0 entity\&. The \fIentity\fR is a string, such as \(lqquot\(rq, in which case \fBunicode_html40ent_lookup\fR() returns 34\&. .PP Additionally, \fBunicode_html40ent_lookup\fR() parses a numerical entity given as \(lq#\fIdecimal\fR\(rq or \(lq#x\fIhex\fR\(rq\&. .PP \fBunicode_html40ent_lookup\fR() returns 0 if the \fIentity\fR is not a known entity that represents a single unicode character\&. .SH "SEE ALSO" .PP \fBcourier-unicode\fR(7), \fBunicode_convert_tocase\fR(3)\&. .SH "AUTHOR" .PP \fBSam Varshavchik\fR .RS 4 Author .RE