if ($input =~ s/-$//) {
$endpoint = $row{offset} ? $row{offset} < 160 ? 159 : 191 : 127;
}
+ if ($row{offset}) {
+ $row{setnote} = 'over cp437' if $input eq 'cp850';
+ $row{setnote} = 'over iso-8859-1' if $input =~ /^iso-8859-|^cp125/;
+ }
if ($input =~ /^U([0-9a-f]+)(?:-([0-9a-f]+))?/) {
my $start = hex($1) << ($2 ? 4 : 8);
for my $row (@request) {
printf '<div class="section"><table class="glyphs%s">', !$row->{cell} && ' charmap';
- printf '<caption>%s</caption>', $row->{set};
+ my $title = $row->{set};
+ $title .= " <aside>($_)</aside>" for $row->{setnote} // ();
+ printf '<caption>%s</caption>', $title;
print '<col>' x 17;
for my $section (qw{thead}) {
print "<$section><tr><th>↱";