Notepad3
Notepad3 copied to clipboard
[BUG] Column Wrap doesn't work on Chinese text
In latest stable version 6.23.203.2, Edit -> Lines -> Column Wrap works fine on English text. However, it doesn't work on Chinese text, no matter if the file is encoded in GB18030 or in UTF-8. Any chance this can be fixed?
Add screenshots to demonstrate the issue.
This is how EmEditor handles the column wraps. One full-width Chinese char equals 2 English chars, to make sure the text is aligned properly.
This divides the string based on the space after the string. At this time, it doesn't appear to support languages that don't use whitespace as word divider.
The following languages seem to have this problem:
- Chinese, Japanese, Thai, Lao, (& Ancient Egypt) (from Word divider on Wikipedia)
Related: https://github.com/rizonesoft/Notepad3/issues/4029 Autocomplete feature