Merge branch '2.4'
* 2.4: Explicitly define the encoding.
This commit is contained in:
commit
c0187c1465
@ -1137,7 +1137,7 @@ class Application
|
|||||||
$line = '';
|
$line = '';
|
||||||
foreach (preg_split('//u', $utf8String) as $char) {
|
foreach (preg_split('//u', $utf8String) as $char) {
|
||||||
// test if $char could be appended to current line
|
// test if $char could be appended to current line
|
||||||
if (mb_strwidth($line.$char) <= $width) {
|
if (mb_strwidth($line.$char, 'utf8') <= $width) {
|
||||||
$line .= $char;
|
$line .= $char;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
[Exception]
|
[Exception]
|
||||||
コマンドの実行中に
|
コマンドの実行中にエラーが
|
||||||
エラーが発生しまし
|
発生しました。
|
||||||
た。
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
foo
|
foo
|
||||||
|
Reference in New Issue
Block a user