Sublime Forum

Incorrect word wrap for Chinese text

#1

Test text:
汉汉汉汉汉汉汉汉汉汉汉汉汉汉 word 字字字字字字字字字字字字

Word_wrap results in Sublime/Notepad:

It seems that the Sublime does not distinguish between ASCII characters and non-ASCII characters. It will treat the text above as three words. In fact, every Han character should be treated as a sigle word.

0 Likes