SAP Knowledge Base Article - Public

1605122 - Japanese word cut in the middle when displayed on multiple lines in Crystal Reports

Symptom

  • Japanese words cut in the middle
  • Japanese words wrap is incorrect
  • When Japanese displays on multiple lines, words may start on one line and finish on the next line
  • In Crystal Reports, Japanese characters that form one word, display the first character on one line, and the remaining characters on the next line

Environment

  • Crystal Reports 2013
  • Crystal Reports 2016
  • Crystal Reports 2020

Reproducing the Issue

  1. In Crystal Reports, create a report of a data source containing Japanese
  2. Insert a database fields that contains a Japanese sentence.
  3. Set the formatting option: Can Grow, for the database fields inserted.
  4. Preview the report

Notice the Japanese characters displaying on multiple lines, may start one word at the end of one line, and complete the word on the next line.

For example: The following Japanese sentence means: Do you speak Japanese?

あなたは日本語を話しますか

The word Japanese is composed of 3 kanji, which is: 日本語

When inserting the above sentence in Crystal Reports, and the object size is smaller than the full sentence, it could display the sentence on two lines like:

あなたは日本

を話しますか

As you can see the word Japanese (日本語) starts on the first line, and the last character of the word is on the second line. The expected behavior would be the word stays on the same line like:

あなたは日本

を話しますか

Cause

  • Word wrapping move text to the next line if the word separated by space cannot fully display on one line.
  • But if the whole line is a string of consecutive characters that cannot be displayed on one line, it cut the text to the maximum number of characters that can be displayed on one line, and continue the text on the next line.
  • Japanese is written without space between words, and this is why word may start on one line and complete on the next line.

Resolution

  • This is the normal behavior when displaying a string of consecutive characters that cannot be displayed on one line, it cut the text to the maximum number of characters that can be displayed on one line, and continue the text on the next line.

Keywords

Japanese, word wrap, Crystal Reports, CR , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

SAP Crystal Reports 2013 ; SAP Crystal Reports 2016 ; SAP Crystal Reports 2020