昔の職場で一緒にいた方が作ったソフトウェア
必要なソフトのインストール
dnf install perl-Jcode dnf install perl-HTML-Template dnf install perl-CGI
UTF8対応のため、色々UTF8に直してみる
nkf --overwrite -w ChangeLog nkf --overwrite -w cl.conf nkf --overwrite -w clsearch.cgi
vi clsearch.cgi print "Content-type: text/html; charset=euc-jp\n\n"; ↓ print "Content-type: text/html; charset=UTF-8\n\n"; <meta http-equiv="Content-Type" content="text/html; charset=euc-jp"> ↓ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
同梱されている
ChangeLogReader.pm
を
/usr/share/perl5/
にコピー
UTF8モードでchalowを実行
chalow --utf8 -o sample -c cl.conf ChangeLog
