diff --git a/campbbs.cgi b/campbbs.cgi index 1a2734a..bc113bc 100755 --- a/campbbs.cgi +++ b/campbbs.cgi @@ -279,7 +279,7 @@ sub member { #------------------------------------------------------------------------------- # HTMLのヘッダー sub header { - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; print <<"EOM";
diff --git a/hist.cgi b/hist.cgi index de912ab..9a4302c 100755 --- a/hist.cgi +++ b/hist.cgi @@ -204,7 +204,7 @@ sub decode_hist { #------------------------------------------------------------------------------- # HTMLのヘッダー sub header { - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; print <<"EOM"; diff --git a/inc/ore_sub-system.cgi b/inc/ore_sub-system.cgi index cc52060..f276674 100755 --- a/inc/ore_sub-system.cgi +++ b/inc/ore_sub-system.cgi @@ -480,8 +480,8 @@ EOM # エラー表示 sub error{ - print "Content-type: text/html\n\n"; - print "This program encountered an internal error.
"; print "Error: $_[0]
\n"; diff --git a/ore_reg.cgi b/ore_reg.cgi index c9ae46e..b8c7399 100755 --- a/ore_reg.cgi +++ b/ore_reg.cgi @@ -28,7 +28,7 @@ exit; # キャラファイル追加処理 sub regist1{ - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; if($mv_mode eq 'pc'){ print <<"EOM"; @@ -179,7 +179,7 @@ sub regist2{ &dat_write; chmod($chmod,"$usrdata$id\.cgi"); - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; print <<"EOM"; diff --git a/park.cgi b/park.cgi index ce3c921..9ba2a74 100755 --- a/park.cgi +++ b/park.cgi @@ -278,7 +278,7 @@ sub member { #------------------------------------------------------------------------------- # HTMLのヘッダー sub header { - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; print <<"EOM"; diff --git a/public.cgi b/public.cgi index accac83..72982d9 100755 --- a/public.cgi +++ b/public.cgi @@ -200,7 +200,7 @@ sub regist { #------------------------------------------------------------------------------- # HTMLのヘッダー sub header { - print "Content-type: text/html\n\n"; + print "Content-type: text/html; charset=UTF-8\n\n"; print <<"EOM";