Mojira Archive
MC-198700

Line breaking rules of non-Latin characters

The Bug

Minecraft tries to insert line breaks at whitespaces for long sentences, making it produce awkward layouts for languages that don't use spaces as the word delimiter like Chinese and Japanese.

This article by 3TUSK does an excellent job at explaining and code analyzing the bug and provides potential fixes to the issue.

Original Description

At line breaking rules for not European characters in any version of Minecraft, it is not perform completly.

So I can only menthon Japanese rule because I'm Japanese, these characters must not come at the beginning of lines:

And, maybe only Japanese language, "Full-width" characer will not ruled general line breaking rule.

The issue of line breaking rules can be menthoned in other languages, for examples Chinese(zh_ch, zh_tw).

P.S. Possibly this issue is easy to appear in languages that not use (half-width) space.


ja_jp - "。" comes at the beginning of a line in Advancement description.


ja-jp - "。" and "、" comes at the beginning of a line in Realm introduction.


zh-tw - "。" comes at the beginning of a line in Distortion effects description.