From 652d58fc76860168f216b596eab93059d2aa0627 Mon Sep 17 00:00:00 2001 From: pricetx Date: Tue, 7 Jul 2015 12:29:09 +0000 Subject: [PATCH] Fixed character conversion issues. --- web/includes/google_maps.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/includes/google_maps.php b/web/includes/google_maps.php index 41475d0..385190c 100644 --- a/web/includes/google_maps.php +++ b/web/includes/google_maps.php @@ -150,7 +150,7 @@ function printMap($type = 'main') $servers_js = array(); foreach ($map_location['servers'] as $server) { - $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;ß²³#+~_\-|<>\/@{}äöüÄÖÜ ]/"); + $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;߲ł#+~_\-|<>\/@{}äöüÄÖÜ ]/"); $replace_pattern = array(""); $server['name'] = preg_replace($search_pattern, $replace_pattern, $server['name']); $temp = "[" . $server['serverId'] . ','; @@ -183,7 +183,7 @@ function printMap($type = 'main') { $players[$row['cli_lat'] . ',' . $row['cli_lng']] = array('cli_lat' => $row['cli_lat'], 'cli_lng' => $row['cli_lng'], 'cli_city' => $row['cli_city'], 'cli_country' => $row['cli_country']); } - $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;ß²³#+~_\-|<>\/@{}äöüÄÖÜ ]/"); + $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;߲ł#+~_\-|<>\/@{}äöüÄÖÜ ]/"); $replace_pattern = array(""); $row['name'] = preg_replace($search_pattern, $replace_pattern, $row['name']); @@ -246,7 +246,7 @@ function printMap($type = 'main') 'country' => $row['country'] ); } - $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;ß²³#+~_\-|<>\/@{}äöüÄÖÜ ]/"); + $search_pattern = array("/[^A-Za-z0-9\[\]*.,=()!\"$%&^`´':;߲ł#+~_\-|<>\/@{}äöüÄÖÜ ]/"); $replace_pattern = array(""); $row['name'] = preg_replace($search_pattern, $replace_pattern, $row['name']);