Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Fix table formatting for multibyte values #193

Merged
merged 1 commit into from
Oct 18, 2017

Conversation

m0003r
Copy link
Contributor

@m0003r m0003r commented Sep 3, 2017

Fix incorrect data formatting in tables when data is multibyte.

Before:

+----------------------+----------------------+----------------------+----------------------+----------------------+
| license                                                                                                           
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          id          |      owner_type      |       owner_id       |        series        |        number        |
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          1           |          IP          |          1           | ЩАЦЁЪЮЛЁЪЁ | ПУФОЙОСУКУ |          1         
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          2           |          IP          |          1           |          Г          | ПЮЖЭСУЛЫКЭ |          2
+----------------------+----------------------+----------------------+----------------------+----------------------+

After:

+----------------------+----------------------+----------------------+----------------------+----------------------+
| license                                                                                                           
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          id          |      owner_type      |       owner_id       |        series        |        number        |
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          1           |          IP          |          1           |      ЩАЦЁЪЮЛЁЪЁ      | ПУФОЙОСУКУ ИМЮКЁШИЪЕ |
+----------------------+----------------------+----------------------+----------------------+----------------------+
|          2           |          IP          |          1           |          Г           | ПЮЖЭСУЛЫКЭЧЭЪОШ ЛЮДА |
+----------------------+----------------------+----------------------+----------------------+----------------------+

(columns truncated for readability; it is not really russian, it's random generated cyrillic data)

@sebastianbergmann sebastianbergmann merged commit c4523c2 into sebastianbergmann:master Oct 18, 2017
@m0003r m0003r deleted the fix_mb_format branch August 4, 2018 07:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants