From ebb63c5a4627180bddb5cf65f035d0988d255944 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 23 Sep 2021 09:24:18 +0200 Subject: [PATCH] Replace use of `StringUtil::split()` by `\mb_str_split()` --- wcfsetup/install/files/lib/util/CLIUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/CLIUtil.class.php b/wcfsetup/install/files/lib/util/CLIUtil.class.php index a7647fcdb8..e2d8631ec4 100644 --- a/wcfsetup/install/files/lib/util/CLIUtil.class.php +++ b/wcfsetup/install/files/lib/util/CLIUtil.class.php @@ -76,7 +76,7 @@ final class CLIUtil { $result = ''; foreach ($list as $row) { - $parts = StringUtil::split($row, CLIWCF::getTerminal()->getWidth() - 2); + $parts = \mb_str_split($row, CLIWCF::getTerminal()->getWidth() - 2); $result .= '* ' . \implode(\PHP_EOL . ' ', $parts) . \PHP_EOL; } -- 2.20.1