nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* utf8_entities.h |
2 | * Byte sequences for various UTF-8 entities |
||
3 | * |
||
4 | * Wireshark - Network traffic analyzer |
||
5 | * By Gerald Combs <gerald@wireshark.org> |
||
6 | * Copyright 1998 Gerald Combs |
||
7 | * |
||
8 | * This program is free software; you can redistribute it and/or |
||
9 | * modify it under the terms of the GNU General Public License |
||
10 | * as published by the Free Software Foundation; either version 2 |
||
11 | * of the License, or (at your option) any later version. |
||
12 | * |
||
13 | * This program is distributed in the hope that it will be useful, |
||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
16 | * GNU General Public License for more details. |
||
17 | * |
||
18 | * You should have received a copy of the GNU General Public License |
||
19 | * along with this program; if not, write to the Free Software |
||
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
||
21 | */ |
||
22 | |||
23 | |||
24 | #ifndef __UTF8_ENTITIES_H__ |
||
25 | #define __UTF8_ENTITIES_H__ |
||
26 | |||
27 | /* |
||
28 | * Sequences can be found at |
||
29 | * http://www.fileformat.info/info/unicode/ |
||
30 | * http://www.utf8-chartable.de/ |
||
31 | * and other places |
||
32 | * |
||
33 | * While many modern systems default to UTF-8 and handle it well, some do |
||
34 | * not. The Windows console is a notable example. When adding a glyph below |
||
35 | * you probably shouldn't stray too far from code page 437 or WGL4: |
||
36 | * https://en.wikipedia.org/wiki/Code_page_437 |
||
37 | * https://en.wikipedia.org/wiki/Windows_Glyph_List_4 |
||
38 | */ |
||
39 | |||
40 | #define UTF8_DEGREE_SIGN "\xc2\xb0" /* 176 / 0xb0 */ |
||
41 | #define UTF8_MICRO_SIGN "\xc2\xb5" /* 181 / 0xb5 */ |
||
42 | #define UTF8_MIDDLE_DOT "\xc2\xb7" /* 183 / 0xb7 */ |
||
43 | |||
44 | #define UTF8_BULLET "\xe2\x80\xa2" /* 8226 / 0x2024 */ |
||
45 | #define UTF8_EM_DASH "\xe2\x80\x94" /* 8212 / 0x2014 */ |
||
46 | #define UTF8_HORIZONTAL_ELLIPSIS "\xe2\x80\xa6" /* 8230 / 0x2026 */ |
||
47 | |||
48 | #define UTF8_LEFTWARDS_ARROW "\xe2\x86\x90" /* 8592 / 0x2190 */ |
||
49 | #define UTF8_RIGHTWARDS_ARROW "\xe2\x86\x92" /* 8594 / 0x2192 */ |
||
50 | #define UTF8_LEFT_RIGHT_ARROW "\xe2\x86\x94" /* 8596 / 0x2194 */ |
||
51 | |||
52 | /* OS X command key */ |
||
53 | #define UTF8_PLACE_OF_INTEREST_SIGN "\xe2\x8c\x98" /* 8984 / 0x2318 */ |
||
54 | |||
55 | #define UTF8_SYMBOL_FOR_NULL "\xe2\x90\x80" /* 9216 / 0x2400 */ |
||
56 | |||
57 | #define UTF8_CHECK_MARK "\xe2\x9c\x93" /* 10003 / 0x2713 */ |
||
58 | #define UTF8_BALLOT_X "\xe2\x9c\x97" /* 10007 / 0x2717 */ |
||
59 | #define UTF8_LONG_RIGHTWARDS_ARROW "\xe2\x9f\xb6" /* 10230 / 0x27f6 */ |
||
60 | |||
61 | #define UTF8_ZERO_WIDTH_NO_BREAK_SPACE "\xef\xbb\xbf" /* 65279 / 0xffef */ |
||
62 | #define UTF8_BOM UTF8_ZERO_WIDTH_NO_BREAK_SPACE |
||
63 | |||
64 | #endif /* __UTF8_ENTITIES_H__ */ |
||
65 | |||
66 | /* |
||
67 | * Editor modelines |
||
68 | * |
||
69 | * Local Variables: |
||
70 | * c-basic-offset: 4 |
||
71 | * tab-width: 8 |
||
72 | * indent-tabs-mode: nil |
||
73 | * End: |
||
74 | * |
||
75 | * ex: set shiftwidth=4 tabstop=8 expandtab |
||
76 | * :indentSize=4:tabSize=8:noTabs=true: |
||
77 | */ |