Html({
title => 'charset cheat sheet',
- version => '1.1',
+ version => '1.2',
description => [
"Reference sheet with all glyphs in common character encoding tables,",
"and an overview of Unicode ranges and UTF-8 bytes.",
<p>
<:
+if ($tablist[0] eq 'unicode') {
+ say "Detailed allocation of Unicode blocks.";
+ print "See ", showlink("charsets", '/charset'), " to compare specific encodings";
+}
+else {
+
if ($tablist[0] eq 'default') {
- say "Overview of Unicode allocation and common latin code pages.";
+ say "Overview of Unicode ", showlink("allocation", '/charset/unicode');
+ say "and common latin code pages.";
say "Compare alternate charsets:";
}
else {
hebrew => 0,
],
);
+
+}
:>.
</p>
$visible->{$glyph}++;
}
- say sprintf $class ? '<td title="%s" class="X %s">%s' : '<td title="%s">',
- $name, $class, $cell;
+ print '<td title="%s"', $name;
+ say $class ? sprintf(' class="X %s">%s', $class, $cell) : '>';
}
continue {
$offset += $colsize;