diff --git a/htdocs/lib/security.lib.php b/htdocs/lib/security.lib.php index 5652895754ae9269817868187dc1227ccf131ab0..47924bda57c732ee8cb59c717bf4ec39c71c6344 100644 --- a/htdocs/lib/security.lib.php +++ b/htdocs/lib/security.lib.php @@ -41,6 +41,7 @@ function dol_loginfunction($langs,$conf,$mysoc) if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php"; header('Cache-Control: Public, must-revalidate'); + header("Content-type: text/html; charset=".$conf->character_set_client); if (! empty($_REQUEST["urlfrom"])) $_SESSION["urlfrom"]=$_REQUEST["urlfrom"]; else unset($_SESSION["urlfrom"]);