4 :><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
5 "http://www.w3.org/TR/html4/loose.dtd">
9 <meta http-equiv="content-type" content="utf-8">
10 <title>digraph cheat sheet</title>
11 <meta name="description" content="Common Unicode characters with digraph or code point, layed out for quick location. Includes general signs, arrows, drawing characters, and IPA letters.">
12 <meta name="keywords" content="unicode, glyph, char, character, reference, common, ipa, sign, mark, table, digraph">
13 <:= stylesheet(qw'light dark red') :>
17 <h1>Common uncommon Unicode</h1>
19 <p>i^k in <a href="/">Vim</a>.
20 Also see the <a href="/digraphs">complete digraphs table</a>.</p>
25 my $diinfo = do 'digraphs.inc.pl';
26 my %di = map { $diinfo->{$_}->[0] => $_ } grep { ref $diinfo->{$_} }
27 sort { length $a <=> length $b } keys %$diinfo;
35 while ($digraphs->[0] !~ /^\./) {
36 my $cell = shift @$digraphs or last;
37 push @colheads, sprintf(
39 $cell =~ s/^-// ? 'td' : 'th',
40 $cell =~ s/:(.*)// ? qq{ title="$1"} : '',
41 $cell eq '_' ? ' ' : $cell
44 push @rows, sprintf '<thead><tr>%s<tbody>', join '', @colheads if @colheads;
47 for my $cell (@$digraphs) {
48 if ($cell =~ s/^\.//) {
49 # dot indicates start of a new row
51 if ($cell =~ s/^>//) {
52 # header cell text follows
53 $cell =~ s/_/ /g; # underscores may be used instead of whitespace (for qw//ability)
54 $rows[-1] .= '<th>'.($cell || ' ');
58 elsif ($cell eq '>') {
59 # merge this cell to the next column
66 # determine display class
71 elsif ($cell eq '=') {
72 push @class, 'di-invalid';
76 if ($cell =~ s/^-//) {
77 push @class, 'di-rare'; # discouraged
80 $code = join '', map { $di{ord $_} || '' } split //, $cell;
81 $name = $diinfo->{$code}->[1];
82 length $code == 2 or undef $code;
85 push @class, 'di-d'; # digraph
86 push @class, 'di-prop' # unofficial
87 if $diinfo->{$code}->[2] =~ /\bXz\b/;
89 elsif (defined $name) {
93 if ($cell =~ /[ -~]/) {
94 push @class, 'di-a'; # ascii
97 push @class, 'di-b'; # basic unicode
102 $rows[-1] .= sprintf('<td%s%s%s>%s%s',
103 defined $name ? qq{ title="$name"} : '',
104 @class ? sprintf(' class="%s"', join ' ', @class) : '',
105 $colspan > 1 && qq{ colspan="$colspan"},
106 $cell eq '' ? ' ' : EscapeHTML($cell),
107 defined $code ? sprintf(' <small class="digraph">%s</small>', EscapeHTML($code))
108 : length($cell) == 1 && $cell !~ /[a-z]/
109 ? sprintf(' <small class="%s">%04X</small>', 'value', ord $cell)
116 return sprintf qq{<table class="glyphs dilabel">\n%s</table>\n},
117 join '', map {"<tr>$_\n"} @rows;
120 sub print_glyph_tables {
122 printf '<div class="section"><h2>%s</h2>'."\n\n", shift;
123 while (ref $_[0] and $_ = shift) {
124 print glyph_table($_);
130 our $verbose = exists $get{v};
134 [qw{. « » . ‹ › . ‘ ’ . “ ” . „ ‚ . ‟ ‛}],
135 [qw{. † ‡ • . § ¶ # . © ® ™ . ° ′ ″ . − × ÷ . ± ² √}],
136 [qw{. ⚋ ⚊ . ⚐ ⚑ . ☺ ☹ . ✓ ✗ . ✔ ✘ . ◄ ► }],
137 [qw{. å ä ö ü ß . ā æ ø ű ſ}],
139 [qw{. α β}], [qw{. א}],
142 [qw{. ¤ ¢ ₥ € £ ₨ $ ¥ . ₫ ₭ ₦ ₱ ₧ ₮ ₩ ₪}],
143 [qw{. ♠ ♡ ♢ ♣ . ♤ ♥ ♦ ♧}],
144 [qw{. ☉ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇}], # solar
145 [qw{. ♈ ♉ ♊ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓}], # zodiac
148 [qw{. ↖ ↑ ↗ ↔ . ← - → ↕ . ↙ ↓ ↘ -}],
149 [qw{. ⇖ ⇑ ⇗ ⇔ . ⇐ - ⇒ ⇕ . ⇙ ⇓ ⇘ -}],
150 [qw{. ⬁ ⇧ ⬀ ⬄ . ⇦ - ⇨ ⇳ . ⬃ ⇩ ⬂ -}],
151 [qw{. ⬉ ⬆ ⬈ ⬌ . ⬅ - ➡ ⬍ . ⬋ ⬇ ⬊ -}],
152 [qw{. ◩ ⬒ ⬔ . ◧ □ ◨ . ⬕ ⬓ ◪ }],
153 [qw{. ◤ ▲ ◥ . ◀ ◆ ▶ . ◣ ▼ ◢ }],
154 [qw{. ◸ △ ◹ . ◁ ◇ ▷ . ◺ ▽ ◿ }],
156 [qw{. . - . }],
157 [qw{. . - . }],
161 [qw{. ╔ ╦ ╗ ═ . ╠ ╬ ╣ ║ . ╚ ╩ ╝ - }],
162 [qw{. ╒ ╤ ╕ . ╞ ╪ ╡ . ╘ ╧ ╛ }],
163 [qw{. ╓ ╥ ╖ . ╟ ╫ ╢ . ╙ ╨ ╜ }],
164 [qw{. ┌ ┬ ┐ . ├ ┼ ┤ . └ ┴ ┘}],
165 [qw{. ┏ ┳ ┓ . ┣ ╋ ┫ . ┗ ┻ ┛}],
166 [qw{. ┍ ┯ ┑ . ┝ ┿ ┥ . ┕ ┷ ┙}],
167 [qw{. ┎ ┰ ┒ . ┠ ╂ ┨ . ┖ ┸ ┚}],
177 [qw{. □ ▣ ■ . ▤ ▦ ▥ . ▧ ▩ ▨}],
179 [qw{. ▘ ▀ ▝ . ▌ █ ▐ . ▖ ▄ ▗ }],
180 [qw{. ▛ ▚ ▟ . ▙ ▞ ▜ }],
181 [qw{. ▁ ▂ ▃ ▄ ▅ ▆ ▇ ▔ . ▏ ▎ ▍ ▌ ▋ ▊ ▉ ▕ }],
185 - BiL:Bilabial LD:Labiodental D:Dental Alv:Alveolar PA:Postalveolar
186 Rf:Retroflex Pal:Palatal Vel:Velar Uv:Uvular Ph:Pharyngeal
187 EG:Epiglottal Gl:Glottal
188 .>Plosive p -ȹ > > t ʈ c k q = ʡ ʔ
189 .>Voiced_Plosive b -ȸ > > d ɖ ɟ ɡ ɢ = - =
190 .>Nasal m ɱ > > n ɳ ɲ ŋ ɴ = = =
191 .>Trill ʙ - > > r - - = ʀ = -я =
192 .>Tap/flap - ⱱ > > ɾ ɽ - = ɢ̆ = - =
193 .>Fricative ɸ f θ s ʃ ʂ ç x χ ħ ʜ h
194 .>Voiced_fricative β v ð z ʒ ʐ ʝ ɣ ʁ ʕ ʢ ɦ
195 .>Lateral_fricative = = > > ɬ - - - - = = =
196 .>Voiced_lateral_fricative = = > > ɮ - - - - = = =
197 .>Approximant - ʋ > > ɹ ɻ j ɰ - - - =
198 .>Lateral_approximant = = > > l ɭ ʎ ʟ - = = =
199 .>Click ʘ - ǀ ǁ ǃ -‼ ǂ - - = = =
200 .>Implosive ɓ ɗ̪ > > ɗ -ᶑ ʄ ɠ ʛ = = =
203 co . ɕ . ʑ . ɧ . ɥ . ʍ . w
207 map { substr($_, 0, 1).':'.$_, substr($_, 0, 1)." r:$_ rounded" }
208 qw{Front Central Back}
211 .>Near-close ɪ ʏ - - - ʊ
212 .>Close-mid e ø ɘ ɵ ɤ o
214 .>Open-mid ɛ œ ɜ ɞ ʌ ɔ
215 .>Near-open æ - ɐ - - -
270 <table class="glyphs"><tr>
271 <td class="X di-a">ascii
272 <td class="X di-d">digraph
273 <td class="X di-prop">proposed
274 <td class="X di-b">other unicode
275 <td class="X di-rare">discouraged
280 <a href="/" rel="home">sheet.shiar.nl</a>/unicode.<a href="/source/unicode.plp"
281 rel="code" title="Written in Perl">plp</a>
282 <a href="http://git.shiar.nl/sheet.git/history/HEAD:/unicode.plp"
283 rel="vcs-git" title="Git repository"><:= $VERSION :></a>
284 created by <a href="http://shiar.nl/" rel="author">Shiar</a> •
285 <a href="http://www.fsf.org/licensing/licenses/agpl-3.0.html" rel="copyright"
286 title="Licensed under the GNU Affero General Public License, version 3">AGPLv3</a>