/usr/share/doc/libafterimage-dev/html/char2uni.html is in libafterimage-dev 2.2.12-11.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Unicode</title>
<style type="text/css">
<!--
body {
margin-top: 5px;
background-repeat: repeat;
}
.copy {
margin-top: 10px;
margin-left: 4%;
margin-right: 4%;
}
.copy a:link, .copy a:visited {
color:#0FF;
text-decoration:none
}
.copy a:active, .copy a:hover {
color:#FC3;
text-decoration:underline
}
.copy2 {
margin-top: 10px;
margin-left: 0;
margin-right: 0;
}
.copy2 a:link, .copy a:visited {
color:#0FF;
text-decoration:none
}
.copy2 a:active, .copy a:hover {
color:#FC3;
text-decoration:underline
}
p.codeBlock {
background: #444444;
padding: 1em;
margin-left: 4em;
font-family:Tahoma, Arial, Verdana, Helvetica;
font-size:14px;
}
.container {
padding: -1em;
margin-left: 0em;
margin-right: 1em;
width: 100%;
background: #ccc;
border: 1px solid #000;
font-size:13px;
}
p.dense {
text-align: justify;
margin-top: 0em;
padding: 0em;
line-height: 110%;
}
p.sect_header
{
background-color: #dddddd;
color: #000000;
text-align: right;
font-size: 11pt;
}
p.refsect_header
{
text-align: left;
font-size: 14px;
line-height: 90%;
}
dl.dense {
padding: 0;
margin: 0;
font-size:14px;
}
ul.dense {
}
li.dense {
line-height: 110%;
}
dt.dense {
line-height: 110%;
text-align: bottom;
}
dd.dense {
font-size:14px;
}
-->
</style>
</head>
<body>
<A name="page_top"></A>
<A href="../../afterstep/html/preface.html">Preface</A> <A href="../../afterstep/html/visualselect.html">Introduction</A> <A href="../../afterstep/html/index.html">Main index</A> <A href="index.html">API Topic index</A> <A href="Glossary.html">API Glossary</A><p>
<h1>Unicode</h1><font size=4>handling on Unicode, UTF-8 and localized 8 bit encodings</font><hr>
<A NAME="libAfterImage/CHAR_SIZE"><UL><p class="sect_header"><B>libAfterImage/CHAR_SIZE</B></p></A><LI><p class="refsect_header"><B>NAME</B></p>
<A NAME="CHAR_SIZE"></A><B>CHAR_SIZE</B><P class="dense">- Convenient macro so we can transparently determine the
number of bytes that character spans. It assumes UTF-8 encoding when
I18N is enabled.
</P></LI><LI><p class="refsect_header"><B>SOURCE</B></p><P class="dense"><div class="container"><PRE>
/* size of the UTF-8 encoded character is based on <A href="blender.html#value_scanlines()">value</A> of
* the first byte : */
#define UTF8_CHAR_SIZE(c) ((((c)&0xC0)==0xC0)? \
(((c)&0x20)? \
(((c)&0x10)? \
(((c)&0x08)? \
(((c)&0x04)?6:5):4):3):2):1)
#ifdef WIN32
#define UNICODE_CHAR_SIZE(c) sizeof(UNICODE_CHAR)
#endif
#define CHAR_SIZE(c) 1
</PRE></div><br></p></LI></UL>
<p><A href="preface.html">Preface</A> <A href="visualselect.html">Introduction</A> <A href="index.html">Topic index</A> <A href="Glossary.html">Glossary</A> <A href="#page_top">Back to Top</A>
<hr>
<p><FONT face="Verdana, Arial, Helvetica, sans-serif" size="-2">AfterStep version 2.2.12</a></FONT>
</body>
</html>
|