Commit 9f16d3e
committed
bug #48886 [Console] Fix computing column width containing multibyte chars (cay89)
This PR was merged into the 5.4 branch.
Discussion
----------
[Console] Fix computing column width containing multibyte chars
Use mb_str_split instead of str_split because it works badly with multibyte chars on auto width adjustment.
| Q | A
| ------------- | ---
| Branch? | 5.4 and above
| Bug fix? | yes
Console output with str_split:

Console output with mb_str_split:

Commits
-------
f32179ee12 [Console] Fix computing column width containing multibyte chars2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
805 | 805 | | |
806 | 806 | | |
807 | 807 | | |
808 | | - | |
| 808 | + | |
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
0 commit comments