Fix HTTP Content-Type headers and meta tags to enforce UTF-8 encoding on all pages and error screens
This commit is contained in:
+2
-2
@@ -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";
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user