summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LedgerSMB/Form.pm5
-rwxr-xr-xlocale/html/splash.html1
2 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm
index d9ad0805..dba2194d 100644
--- a/LedgerSMB/Form.pm
+++ b/LedgerSMB/Form.pm
@@ -307,10 +307,9 @@ sub header {
qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|;
}
- if ( $self->{charset} ) {
- $charset =
+ $self->{charset} ||= "utf-8";
+ $charset =
qq|<meta http-equiv="content-type" content="text/html; charset=$self->{charset}" />\n|;
- }
$self->{titlebar} =
( $self->{title} )
diff --git a/locale/html/splash.html b/locale/html/splash.html
index ad37ab3a..d99e898d 100755
--- a/locale/html/splash.html
+++ b/locale/html/splash.html
@@ -6,6 +6,7 @@
<title>LedgerSMB Splash page</title>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../../css/ledger-smb.css" type="text/css" title="LedgerSMB stylesheet" />
<meta name="robots" content="noindex,nofollow" />