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:
“Under the one word house are included the schoolhouse, the almshouse, the jail, the tavern, the dwellinghouse; and the meanest shed or cave in which men live contains elements of all these. But nowhere on the earth stands the entire and perfect house.”
—Henry David Thoreau (18171862)
“If ever I should condescend to prose,
Ill write poetical commandments, which
Shall supersede beyond all doubt all those
That went before; in these I shall enrich
My text with many things that no one knows,
And carry precept to the highest pitch:
Ill call the work Longinus oer a Bottle,
Or, Every Poet his own Aristotle.”
—George Gordon Noel Byron (17881824)