charlierudolph / cucumber_lint

A linter and formatter for cucumber features
MIT License
8 stars 4 forks source link

consistent_table_whitespace handles multibyte characters incorrectly. #19

Open cgriego opened 7 years ago

cgriego commented 7 years ago

This whitespace amount was correct, but cucumber_lint changes it.

     | association | language   | text    | _type              |
     | name        | en         | Queen   | UserTranslatedText |
     | name        | x-piglatin | Eenquay | UserTranslatedText |
-    | name        | zh-Hant    | 張大號床    | UserTranslatedText |
-    | name        | zh         | 张大号床    | UserTranslatedText |
+    | name        | zh-Hant    | 張大號床        | UserTranslatedText |
+    | name        | zh         | 张大号床        | UserTranslatedText |
charlierudolph commented 7 years ago

Do you know how to recognize multi byte characters so we can treat them special?