Under FastCGI, latin1 glyphs were displayed with their internal string
representation, because the output buffer was not :utf8 (FCGI flaw).
At least that's what I gather. Force to Unicode beforehand so it's
shown correctly.
next;
}
my $chr = $di->{$mnem};
+ my $glyph = chr $chr;
+ utf8::upgrade($glyph); # prevent latin1 output
my @class = 'any';
printf '<td class="%s" title="%s">%s',
- join(' ', @class), quote($mnem), quote(chr $chr);
+ join(' ', @class), quote($mnem), quote($glyph);
}
print "\n";
}