Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
KB-2023102320231116-01
KB-2023102320231116-01
KB-2023102320231116-01

Version

XFRX 1922.01

Symptoms 

Symptoms

PDF output contains weird characters (Ø instead é)Some fields contains wrong value - numbers, dates or string contains  multiple value.

Cause

  • Text or label field use font Times, Symbol, Times, Helvetica or Courier.

If font is Times then XFRX identify such as PDF system font and text use "StandardEncoding" (Adobe standard Latin-text encoding. This encoding doesn't contains all characters from codepage windows-1252.

Workaround

Set font Times New Roman instead Times (and similarly for others).

Code BlockUSE ("report.frx") REPLACE fontface WITH 'Times New Roman' FOR INLIST(objtype , 5,8) AND fontface=='Times' USE
  • Used XFRX#LISTNER
  • Some text field has source expression UDF. This UDF fill other variables which are used in a report.


Workaround

  • Set value fo CallEvaluateContents:
Code Block
loSession=EVALUATE([XFRX("XFRX#LISTENER")])
loSession.CallEvaluateContents=2
  • Add new variable in report, set "Initial value" to calls UDF and set variable name to expression of original text field.