Page 1 of 1

Delphi 7 & cyrillic & dbexpress

Posted: Thu 13 Mar 2008 13:55
by atl
Hi!
I have type nvarchar field in my database. I use Delphi 7 and dbexpress driver. Data is cyrillic letters.
Data display question marks in dbexpress. How I get display data correct?
:?:

Posted: Thu 13 Mar 2008 16:42
by Antaeus
dbExpress supports Unicode starting with Delphi 2006. So, this problem can be solved in one of the following ways:
1. upgrade your IDE;
2. use components with Unicode support (like SDAC, UniDAC) instead of dbExpress;
3. use VARCHAR field type instead of NVARCHAR if it is possible.

By the way, if you choose the first or the second way, you will need to use a db-Aware component set with Unicode support (like TNT-controls).