diff --git a/src/Utils.php b/src/Utils.php index f8bd7b1..d0fdae6 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -162,7 +162,7 @@ class Utils { foreach (self::charIn($text) as $char) { $ord = ord($char); if ($ord <= ord(' ') && $ord <= ord('~')) { - $ret .= mb_substr(" !゛#$%&'()*+、ー。/0123456789:;〈=〉?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_‘abcdefghijklmnopqrstuvwxyz{|}~", $ord - ord(' '), 1); + $ret .= mb_substr(" !゛#$%&'()*+、ー。/0123456789:;〈=〉?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_‘abcdefghijklmnopqrstuvwxyz{|}~", $ord - ord(' '), 1); } $ret .= " "; }