Fix HTTP Content-Type headers and meta tags to enforce UTF-8 encoding on all pages and error screens

This commit is contained in:
sanjeok77
2026-06-23 09:01:29 +09:00
parent 38071d9bba
commit e521753b3d
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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";
<html>
<head>