1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
3 <!-- Created on September, 1 2014 by texi2html 1.78a -->
5 Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
6 Karl Berry <karl@freefriends.org>
7 Olaf Bachmann <obachman@mathematik.uni-kl.de>
9 Maintained by: Many creative people.
10 Send bugs and suggestions to <texi2html-bug@nongnu.org>
14 <title>GNU libunistring: 7. Names of Unicode characters <uniname.h></title>
16 <meta name="description" content="GNU libunistring: 7. Names of Unicode characters <uniname.h>">
17 <meta name="keywords" content="GNU libunistring: 7. Names of Unicode characters <uniname.h>">
18 <meta name="resource-type" content="document">
19 <meta name="distribution" content="global">
20 <meta name="Generator" content="texi2html 1.78a">
21 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
22 <style type="text/css">
24 a.summary-letter {text-decoration: none}
25 pre.display {font-family: serif}
26 pre.format {font-family: serif}
27 pre.menu-comment {font-family: serif}
28 pre.menu-preformatted {font-family: serif}
29 pre.smalldisplay {font-family: serif; font-size: smaller}
30 pre.smallexample {font-size: smaller}
31 pre.smallformat {font-family: serif; font-size: smaller}
32 pre.smalllisp {font-size: smaller}
33 span.roman {font-family:serif; font-weight:normal;}
34 span.sansserif {font-family:sans-serif; font-weight:normal;}
35 ul.toc {list-style: none}
42 <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
44 <table cellpadding="1" cellspacing="1" border="0">
45 <tr><td valign="middle" align="left">[<a href="libunistring_6.html#SEC18" title="Beginning of this chapter or previous chapter"> << </a>]</td>
46 <td valign="middle" align="left">[<a href="libunistring_8.html#SEC20" title="Next chapter"> >> </a>]</td>
47 <td valign="middle" align="left"> </td>
48 <td valign="middle" align="left"> </td>
49 <td valign="middle" align="left"> </td>
50 <td valign="middle" align="left"> </td>
51 <td valign="middle" align="left"> </td>
52 <td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
53 <td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
54 <td valign="middle" align="left">[<a href="libunistring_19.html#SEC77" title="Index">Index</a>]</td>
55 <td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
59 <a name="uniname_002eh"></a>
61 <h1 class="chapter"> <a href="libunistring.html#TOC19">7. Names of Unicode characters <code><uniname.h></code></a> </h1>
63 <p>This include file implements the association between a Unicode character and
66 <p>The name of a Unicode character allows to distinguish it from other, similar
67 looking characters. For example, the character ‘<samp>x</samp>’ has the name
68 <code>"LATIN SMALL LETTER X"</code> and is therefore different from the character
69 named <code>"MULTIPLICATION SIGN"</code>.
72 <dt><u>Macro:</u> unsigned int <b>UNINAME_MAX</b>
75 <dd><p>This macro expands to a constant that is the required size of buffer for a
76 Unicode character name.
80 <dt><u>Function:</u> char * <b>unicode_character_name</b><i> (ucs4_t <var>uc</var>, char *<var>buf</var>)</i>
83 <dd><p>Looks up the name of a Unicode character, in uppercase ASCII.
84 <var>buf</var> must point to a buffer, at least <code>UNINAME_MAX</code> bytes in size.
85 Returns the filled <var>buf</var>, or NULL if the character does not have a name.
89 <dt><u>Function:</u> ucs4_t <b>unicode_name_character</b><i> (const char *<var>name</var>)</i>
92 <dd><p>Looks up the Unicode character with a given name, in upper- or lowercase
93 ASCII. Returns the character if found, or <code>UNINAME_INVALID</code> if not found.
97 <dt><u>Macro:</u> ucs4_t <b>UNINAME_INVALID</b>
100 <dd><p>This macro expands to a constant that is a special return value of the
101 <code>unicode_name_character</code> function.
104 <table cellpadding="1" cellspacing="1" border="0">
105 <tr><td valign="middle" align="left">[<a href="libunistring_6.html#SEC18" title="Beginning of this chapter or previous chapter"> << </a>]</td>
106 <td valign="middle" align="left">[<a href="libunistring_8.html#SEC20" title="Next chapter"> >> </a>]</td>
107 <td valign="middle" align="left"> </td>
108 <td valign="middle" align="left"> </td>
109 <td valign="middle" align="left"> </td>
110 <td valign="middle" align="left"> </td>
111 <td valign="middle" align="left"> </td>
112 <td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
113 <td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
114 <td valign="middle" align="left">[<a href="libunistring_19.html#SEC77" title="Index">Index</a>]</td>
115 <td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
119 This document was generated by <em>Daiki Ueno</em> on <em>September, 1 2014</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>.