X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/b44d61378ef1395d5003610a7904a6c2351243a5..d22e7febda8720bc38069f7061adb43b98143c48:/charset.plp diff --git a/charset.plp b/charset.plp index 4272b6a..f9c50d8 100644 --- a/charset.plp +++ b/charset.plp @@ -5,7 +5,7 @@ my @tablist = split m{/+}, $Request || 'default'; 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.", @@ -28,8 +28,15 @@ use List::Util qw( first pairmap pairfirst pairs );

<: +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 { @@ -60,6 +67,8 @@ print join " •\n", ( hebrew => 0, ], ); + +} :>.