Delphi 7 & cyrillic & dbexpress

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
atl
Posts: 1
Joined: Thu 13 Mar 2008 13:31

Delphi 7 & cyrillic & dbexpress

Post by atl » Thu 13 Mar 2008 13:55

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?
:?:

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 13 Mar 2008 16:42

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).

Post Reply