From 018f4cd0b821aaf43515c5583fcbe9841d8f0631 Mon Sep 17 00:00:00 2001 From: iliabox Date: Thu, 9 Jun 2016 15:26:50 +0300 Subject: [PATCH] fix bug --- SMSCounter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMSCounter.php b/SMSCounter.php index 60e5e32..006a0d2 100644 --- a/SMSCounter.php +++ b/SMSCounter.php @@ -210,7 +210,7 @@ public function utf8ToUnicode($str) $unicode[] = $thisValue; } - if ($thisValue > 128) { + if ($thisValue >= 128) { if (count($values) == 0) { $lookingFor = ($thisValue < 224) ? 2 : 3; }