Sublime Forum

Word wrapping goes wrong on Chinese/Japanese characters

#1

Here is a problem detected by me, in sublime2, word wrapping is wrongly proceed when meeting Chinese characters. In Chinese, Japanese, and Korean, each Han character is normally considered a word, and therefore word wrapping can usually occur before and after any Han character. However, in sublime, the break occurs on spaces (between western and Chinese words), makes one line extremely short.

(correct)
]]]]]] western ]]]]]]]
]]]]]]
( ] for chinese character)

(what Sublime displays)
]]]]]] western
]]]]]]]]]]]]]

And there are some special rules processing Asian punctuactions, see en.wikipedia.org/wiki/Line_break … n_language. For example, full stops (。] 句号/句点) should not occur at the start of lines.

0 Likes

Word wrapping for CJK characters
#2

Maybe currently all chinese characters (above U+3000) can be regard as a “punctuation”. (like a dot or comma).

0 Likes

#3

Many chinese coders like sublime . we hope this problem could be fixed.

BTW : we will buy sublime text 2 next week . We like—even love ---- sublime text :smile:

0 Likes

#4

Yes, we are establishing a bulk purchasing activity. This bug is really annoying.

0 Likes