cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Crystal Report XI and Regional Settings

Former Member
0 Kudos

Dear All,

I am working on Crystal Report XI under Chinese Windows 2000 Professional and Chinese Visual Foxpro 9.0.

I created a User defined Function Library under VFP9.0 as an ActiveX with a function that return a String. I could saw the function in CR XI and the function works fine when returning English. When the function returning a Chinese String, CR XI gives different result. The Chinese text returned from the function only works when my regional settings (control panel -> regional settings) is set to Chinese Taiwan otherwise it shows "??????".

It is queer, the text object always correct, shows Chinese text, no matter what regional settings is. I did try my best in VFP to convert the string to double byte, unicode, etc but it stilll doesn't work.

Could anyone help me please. Thank you.

Regards,

Antony

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183750
Active Contributor
0 Kudos

I believe the issue is due to the fact that UFLs in CR XI are not Unicode compliant. The only way to make these work as per your requirement, would be to use the MS Arial Unicode font.

Ludek

Former Member
0 Kudos

Thank you for your reply.

I did use Arial font, but don't know how to set it as unicode. I did try all chinese font, still doesn't work.

former_member183750
Active Contributor
0 Kudos

If you have the correct font, it will actually say "MS Arial Unicode" in any of the font drop downs - CR Designer, MS Word or any other software. So, you'll have to ensure that the font is installed.

Ludek