From 8aa1a80ea922a0f2de5f5b4edb86b046fe90b5f7 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Thu, 18 Jul 2002 23:42:59 +0000 Subject: [PATCH] bug utf8 google (Michael Parienti) --- ecrire/inc_statistiques.php3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecrire/inc_statistiques.php3 b/ecrire/inc_statistiques.php3 index b7e8df74b3..5693f17a95 100644 --- a/ecrire/inc_statistiques.php3 +++ b/ecrire/inc_statistiques.php3 @@ -65,6 +65,8 @@ function stats_show_keywords($kw_referer, $kw_referer_host) { $keywords = ereg('=', $arr_engines[$cnt][1]) ? ${str_replace('=', '', $arr_engines[$cnt][1])} : $lvm_directory; + if ($kw_referer_host == "Google" && ereg('oe=UTF-8', $query)) + $keywords = utf8_decode($keywords); } } -- GitLab