Skip to Content
avatar image
Former Member

Crystal XI R2 exporting issues with double-byte character sets

NOTE: I have also posted this in the Business Objects General section with no resolution, so I figured I would try this forum as well.

We are using Crystal Reports XI Release 2 (version 11.5.0.313).

We have an application that can be run using multiple cultures/languages, chosen at login time. We have discovered an issue when exporting a Crystal report from our application while using a double-byte character set (Korean, Japanese).

The original text when viewed through our application in the Crystal preview window looks correct:

性能 著概要

When exported to Microsoft Word, it also looks correct. However, when we export to PDF or even RPT, the characters are not being converted. The double-byte characters are rendered as boxes instead. It seems that the PDF and RPT exports are somehow not making use of the linked fonts Windows provides for double-byte character sets. This same behavior is exhibited when exporting a PDF from the Crystal report designer environment. We are using Tahoma, a TrueType font, in our report.

I did discover some new behavior that may or may not have any bearing on this issue. When a text field containing double-byte characters is just sitting on the report in the report designer, the box characters are displayed where the Korean characters should be. However, when I double click on the text field to edit the text, the Korean characters suddenly appear, replacing the boxes. And when I exit edit mode of the text field, the boxes are back. And they remain this way when exported, whether from inside the design environment or outside it.

Has anyone seen this behavior? Is SAP/Business Objects/Crystal aware of this? Is there a fix available? Any insights would be welcomed.

Thanks,

Jeff

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    May 06, 2009 at 11:47 PM

    Hi Jeff,

    I'm running into the same exact issue and was wondering if you were abe to get a resolution?

    Thanks,

    Tim

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Text Object

      1. Preview

      2. Direct Print from Crystal Report

      3. Export to PDF by Crystal Report

      Field Object

      4. Preview

      5. Direct Print from Crystal Report

      6. Export to PDF by Crystal Report

      Font | 1 2 3 4 5 6

      -


      Times New Roman (Western) |

      / Arial (Western) | Failed Failed Failed OK OK Failed

      Arial Unicode MS (CHINESE_BIG5)

      OK OK OK OK OK OK

      細明體(CHINESE_BIG5) | OK OK OK OK OK OK

      Arial Unicode MS can be installed in MS office which should support chinese, japanese, korean ...etc

  • avatar image
    Former Member
    Sep 24, 2008 at 03:32 PM

    Use any Unicode font and it will work.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 24, 2008 at 04:08 PM

    Hi Jef

    I searched on the forums and got the following information:

    1) If font linking is enabled on your device, you can examine the registry by enumerating the subkeys of the registry key at HKEY_LOCAL_MACHINEu2013\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink to determine the mappings of linked fonts to base fonts. You can add links by using Regedit to create additional subkeys. Once you have located the registry key that has just been mentioned, from the Edit menu, Highlight the font face name of the font you want to link to and then from the Edit menu, click Modify. On a new line in the dialog field "Value data" of the Edit Multi-String dialog box, enter "path and file to link to," "face name of the font to link".u201D

    2) "Fonts in general, especially TrueType and OpenType, are u201CUnicodeu201D.

    Since you are using a 'true type' font, it may be an Unicode type already.However,if Bud's suggestion works then nothing better than that.

    Also, could you please check the output from crystal designer with different version of pdf than the current one?

    Meanwhile, I will look out for any additional/suitable information on this issue.

    Add comment
    10|10000 characters needed characters exceeded