Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'misc/others/api_rest_call.php')
-rw-r--r--misc/others/api_rest_call.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/others/api_rest_call.php b/misc/others/api_rest_call.php
index 67c3f9e4ba..b6275f8755 100644
--- a/misc/others/api_rest_call.php
+++ b/misc/others/api_rest_call.php
@@ -22,7 +22,7 @@ if (!$content) {
print("<h1>Keywords for the last month</h1>\n");
foreach ($content as $row) {
- $keyword = htmlspecialchars(html_entity_decode(urldecode($row['label']), ENT_QUOTES), ENT_QUOTES);
+ $keyword = htmlspecialchars(html_entity_decode(urldecode($row['label']), ENT_QUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8');
$hits = $row['nb_visits'];
print("<b>$keyword</b> ($hits hits)<br>\n");