SAP Knowledge Base Article - Public

1544590 - Unable to search or copy some Thai words in PDF document generated by Crystal Reports

Symptom

  • Unable to search or copy Thai words (letters that look like having superscripts) in PDF
  • When searching Thai words in a PDF document generated by Crystal Reports, it returns no result.

Environment

  • Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. In Crystal Reports, create a report containing Thai text that appear to have a superscript.
  2. Export the report to PDF format.
  3. Search for a Thai word that appear to have superscript type of letters in exported PDF document.
  4. Search returns: 'No result found'

Cause

  • Crystal Report's PDF exporting has a feature that is called embedding fonts which embeds font into PDF that makes sure PDF could render these fonts in any platform correctly.
  • The character shown in the PDF has been re-encoded which is applied to the character whose unicode is beyond 0xff
  • For example, the character "我" could be as "0x0020" in PDF which is related to an embedded font in PDF. So if you copy the character in PDF, it will search the character using encoding "0x20". While you copy the "我" from outside and search or type, it will search according its unicode "0x2dfs" (just an example). Hence, this is a behavior by design.
  • This functionality does not currently exist in the product.

Resolution

  • An Enhancement Request has been logged under ADAPT01460274. The Enhancement Request (ER) will be considered in terms of future product development when considering possible new features in the next major release. Please note that the ER may or may not be included depending on various factors.
         
  • To workaround this limitation, print the report to PDF format from Crystal Reports instead of exporting the report to PDF format.

See Also

  • ADAPT01456245 was raised for this functionality which was rejected as by design.

Keywords

ADAPT01460274, ADAPT01456245, Thai words, PDF , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Product Enhancement

Product

Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016