/usr/share/gfxboot/bin/html2utf8 is in gfxboot-dev 4.5.2-1.1-5build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #! /usr/bin/perl -i
use Encode;
use HTML::PullParser;
sub enc_ent;
while(<>) {
s/(&[^;]+;)/enc_ent($1)/ge;
print
}
sub enc_ent
{
encode_utf8(HTML::PullParser->new(doc => \$_[0], text => 'dtext')->get_token->[0]);
}
|