diff --git a/src/SearchableTrait.php b/src/SearchableTrait.php index 2f504e4..96befd8 100644 --- a/src/SearchableTrait.php +++ b/src/SearchableTrait.php @@ -36,7 +36,7 @@ public function scopeSearch(Builder $q, $search, $threshold = null, $entireText return $q; } - $search = strtolower(trim($search)); + $search = mb_strtolower(trim($search)); $words = explode(' ', $search); $selects = [];