diff -urN ../htmllint.orig/tagslist.cgi ./tagslist.cgi
--- ../htmllint.orig/tagslist.cgi Sun Dec 28 12:44:30 2008
+++ ./tagslist.cgi Thu Sep 6 20:50:00 2012
@@ -137,7 +137,10 @@
$tag = $in{'Element'};
# 出力する漢字コードの選択
my $ccode = ($in{'CharCode'} or $KANJICODE or 'JIS');
- if ($ccode =~ /^EUC$/oi) {
+ if ($Jcode && $ccode =~ /^UTF8$/oi) {
+ $outCODE = 'utf8';
+ $CHARSET = 'UTF-8';
+ } elsif ($ccode =~ /^EUC$/oi) {
$outCODE = 'euc';
$CHARSET = 'EUC-JP';
} elsif ($ccode =~ /^SJIS$/oi) {