X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/66b588e944657d76b8eafab015b789f9341c9c00..9a4d89685edcb4399aa500d38de84b0101ad09b2:/charset.plp diff --git a/charset.plp b/charset.plp index f9a773a..e84ae82 100644 --- a/charset.plp +++ b/charset.plp @@ -1,24 +1,20 @@ -<: -use utf8; -use strict; -use warnings; -use open IO => ':utf8'; - -our $VERSION = 'v1.0'; - -$header{content_type} = 'text/html; charset=utf-8'; +<(common.inc.plp)><: + +Html({ + title => 'charset cheat sheet', + version => 'v1.0', + description => [ + "Reference sheet with all glyphs in common character encoding tables,", + "and an overview of Unicode ranges and UTF-8 bytes.", + ], + keywords => [qw' + charset codepage unicode ascii utf8 latin glyph character encoding + reference common overview table + '], + stylesheet => [qw'light'], +}); -:> - - - - -charset cheat sheet - - - - +:>

Character encoding

<: @@ -101,19 +97,9 @@ for my $cp437 (grep {$request[$_]->{set} eq 'cp437'} 0 .. $#request) { ); } -sub quote { - local $_ = shift; - s/"/"/g; - s//>/g; - return $_; -} - -print "\n"; - :>
@@ -207,12 +191,3 @@ print "\n"; - - -