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