Printing Chinese
Hi all,
In my database I have chinese signs. How can I print (or see with print preview) them? At the moment i see only '?'...
I set the font to @PMingLiU and it's charset to Chines_Big5 (GB_3232 doesn't work either)
I managed to get FR in Chinese, but that isn't what I want...
Thnx in forward
Erik
In my database I have chinese signs. How can I print (or see with print preview) them? At the moment i see only '?'...
I set the font to @PMingLiU and it's charset to Chines_Big5 (GB_3232 doesn't work either)
I managed to get FR in Chinese, but that isn't what I want...
Thnx in forward
Erik
Comments
I don't fully understand this...
I have MSSQL where it's collation name is: Chinese_PRC_CS_AS_some-more
and uses nvarchar. My delphi application uses ado to retrieve it (and does it well). I installed both Traditional and Simplified chinese on my system.
In my delphi application:
ADOConnection, ADOTable, FastReport, FastreportDataset (linked to ADOTable). I generated a report in the Fastrreport designer.
But when I load this report, I only get '?' onstead of chinese signs.
What am I doing wrong? Could you please send me a small example otherwise/
Thanks in forward
Debug your program and check the string which get from database,what you can see in Delphi?If you get Unicode string(I don't konw what it looks like in Delphi),try to use WideCharToMultiByte(SDK function) to convert them to MultiByte string.
Hope this can help you.
And when I use WideCharToMultiByte, my character is transformed to multiple (non-chinese)characters.
Some code: I am using a modified stringgrid which supports unicode (tnt components).
No solution yet,...
Do you program in Delphi?
beside I can't use it from Delphi, Ms SQL, I can't use it within fastreport (by typing it directly in it)
I'm using fastreport 2.5 unregistered (not going to pay as long as it doesn't work, omg I wanna pay )
How do you use them?
You can contact me directly. My E-mail is zhu_py@hotmail.com. You can write your mail in chinese.
THANX:
It was the system! Not my keyboard!
I had to change my locale into Chinees(China)... and i could keep my keyboard settings to dutch for example...
Whoa, now I can have a nice weekend,
Thanks again