Skip to Content
Former Member
Sep 13, 2013 at 10:52 AM

Does Crystal Reports supports national digits (like Eastern Arabic numerals) on render time?



Could anyone confirm that Crystal Reports can render reports using national digits like Eastern Arabic numerals?

According to our tests, CrystalDecisions.Windows.Forms.CrystalReportViewer from latest Crystal Reports for Microsoft Visual Studio (i.e. Support Pack 6) ignores national digits and always use standart set "0123456789" even if Windows system-wide settings guides programs to use not-default digit sets like "٠١٢٣٤٥٦٧٨۹".

This problem can be also observed in Microsoft Visual Studio 2012. To repro:

1. Setup Windows to use national digits. In "Control Panel" / "Region and Language" press "Additional settings..." on the "Formats" tab, choose some not-default digits set (for example - "٠١٢٣٤٥٦٧٨۹") in the "Standard digits" combobox, and choose "National" in the "Use native digits" combobox. Apply your changes.

2. In Microsoft Visual Studio 2012 create a new "Crystal Reports Application" project using a blank report. Put a text object on any report section and type some digits within. Note that national digits form a set choosen on step 1 are rendered in report designer - it is OK. Switch to report preview and note that common digits (0-9) are rendered - it is NOT OK. If you compile and run this test application, then you can observe the same problem - "0123456789" are used. If you add some data table with numeric data, then these data are also rendered using "0123456789".

In result it looks like national digits are supported by Crystal Reports in design time, but not supported on render time. Is there any way to force Crystal Reports to use national digits on render time? Is it necessary to design reports in some special way? Or may be there are some Windows registry setting which control this behavior?

Thanks in advance,