From fe335b46f000a707c475ebd70334d3abd8c474a6 Mon Sep 17 00:00:00 2001 From: Travis van der Font Date: Wed, 1 Feb 2017 13:53:23 +0100 Subject: [PATCH] utf8 support for address url --- setters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setters.php b/setters.php index e6694c7..e0ca0ae 100644 --- a/setters.php +++ b/setters.php @@ -39,7 +39,7 @@ public function setRadius($radius) public function setAddress($address) { - $this->address = urlencode($address); + $this->address = urlencode(utf8_encode($address)); } public function setLatLng($lat, $lng)