Commit ab77722d authored by fred's avatar fred

sql: force utf-8 locale

parent 3a5139d2
......@@ -35,7 +35,7 @@ if (!$r=$mysql->get_dblist()) {
} else {
setcookie("REMOTE_USER",$r[0]["login"]);
setcookie("REMOTE_PASSWORD",$r[0]["pass"]);
if ($lang) $l="&lang=".substr($lang,0,2);
if ($lang) $l="&lang=".substr($lang,0,2).'-utf-8';
// TODO : make it an absolute url ! (even in httpS :))
header("Location: /admin/sql/index.php?server=1$l");
exit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment