diff --git a/client/request.php b/client/request.php
index <HASH>..<HASH> 100644
--- a/client/request.php
+++ b/client/request.php
@@ -21,7 +21,9 @@ class Request {
         // ensure params are utf8
         if ($params !== null) {
             foreach ($params as &$param) {
-                $param = utf8_encode($param);
+                if(is_string($param)){
+                    $param = utf8_encode($param);
+                }
             }
         }
Only UTF8 encode strings to preserve other data types