Word Wrapping in Text Containing Chinese, Japanese, and Korean
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.
Under certain circumstances, however, word wrapping is not desired. For instance,
- word wrapping might not be desired within personal names, and
- word wrapping might not be desired within any compound words (when the text is flush left but only in some styles).
Most existing word processors and typesetting software cannot handle either of the above scenarios.
CJK punctuation may or may not follow rules similar to the above-mentioned special circumstances. It is up to line breaking rules in CJK.
A special case of line breaking rules in CJK, however, always applies: line wrap must never occur inside the CJK dash and ellipsis. Even though each of these punctuation marks must be represented by two characters due to a limitation of all existing character encodings, each of these are intrinsically a single punctuation mark that is two ems wide, not two one-em-wide punctuation marks.
Read more about this topic: Word Wrap
Famous quotes containing the words word and/or text:
“The hood-winked husband shows his anger, and the word jealous is flung in his face. Jealous husband equals betrayed husband. And there are women who look upon jealousy as synonymous with impotence, so that the betrayed husband can only shut his eyes, powerless in the face of such accusations.”
—J. August Strindberg (18491912)
“Don Pedro. But when shall we set the savage bulls horns on the sensible Benedicks head?
Claudio. Yes, and text underneath, Here dwells Benedick, the married man?”
—William Shakespeare (15641616)