Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

user function libray and xml data-chinese font displayed ???

Status
Not open for further replies.

smsaji

Programmer
Jun 26, 2005
91
CA
Hi All,

Have stored sample data in English, French and Chinese in xml Reading it through a c#.net function.
loading as follows:

XmlDocument doc = new XmlDocument();
doc.Load("C:/dataDict.xml");

Accessing the function in crystal report 10.

In the crystal report, English and French data are read from xml file and displayed. But the Chinese, Japanese data displayed as ????? in crystal report. Tried to change the conditional font for that field in CR10 using "NSimSun". But still it displays ????.

(In xml file tried the encoding utf-8, utf-16, GB18030 etc. but no luck. read a lot in search engines, yet cannot figure out)

Any clues, appreciated!

Also posted this in XML forum, as so far no hints, posting here again with a feeling, I may get some hints.

thanks
saj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top