diff options
-rwxr-xr-x | LedgerSMB/Form.pm | 5 | ||||
-rwxr-xr-x | locale/html/splash.html | 1 | ||||
-rwxr-xr-x | locale/splash.html | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index d582601f..92fb7023 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -302,15 +302,14 @@ sub header { if ( $ENV{GATEWAY_INTERFACE} ) { + $self->{charset} ||= "utf-8"; if ( $self->{stylesheet} && ( -f "css/$self->{stylesheet}" ) ) { $stylesheet = qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|; } - if ( $self->{charset} ) { - $charset = + $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 9ba76a09..5eed3837 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" /> diff --git a/locale/splash.html b/locale/splash.html index 18719b5c..77ac2686 100755 --- a/locale/splash.html +++ b/locale/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" /> |