Word Wrap - Word Wrapping in Text Containing Chinese, Japanese, and Korean

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:

    All roads are blocked to a philosophy which reduces everything to the word “no.” To “no” there is only one answer and that is “yes.” Nihilism has no substance. There is no such thing as nothingness, and zero does not exist. Everything is something. Nothing is nothing. Man lives more by affirmation than by bread.
    Victor Hugo (1802–1885)

    There’s a great text in Galatians,
    Once you trip on it, entails
    Twenty-nine distinct damnations,
    One sure, if another fails:
    Robert Browning (1812–1889)