Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Disable Unicode output in report

edited February 2011 in General
Hi,

We are using the KurafMerger tool to merge different Report Builder Archive
(.raf) files into 1 report.
We recently updated to Delphi 2009 which has builtin Unicode support.

The KurafMerger does not support unicode and fails when verifying the
headers of the RAF files (which are also Unicode now).

Is there a way to disable the unicode use of a report in RB11? I would like
to ouput Ansi archive files so we can continue to use the KurafMerger
component.

Thanks,

Stefan

Comments

  • edited February 2011

    Are you working with Stijn Verrept? I received a similar question today.

    The problem is not Delphi or RB. RB uses standard Delphi streaming. Report
    definitions (.rtm) and report archives (.raf) created in one version of
    Delphi can be read by another, regardless of Ansi VCL or Unicode VCL.

    The problem is the kuRafMerge code. For example look at this line.

    String(fID)<>'TPF0' Then

    In D7, String = AnsiString and in D2009, String = Unicode. That line needs
    to read

    AnsiString(fID)<>'TPF0' Then

    I updated kuRafMerge, tested it and emailed it to Stijn Verrept and to the
    kuRafMerge author.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.