Einzelnen Beitrag anzeigen

WalkingAway

Registriert seit: 12. Mär 2024
4 Beiträge
 
Delphi 12 Athens
 
#4

AW: Unicode in DBGrid is not displayed correctly

  Alt 9. Okt 2024, 09:24
Thank you
I have MSSQL 2008 database and table, column type - nvarchar(50)
Nothing is set to FD connection (I have tried StringFormat=Choose, no difference)
I can see in ClientDataset data properly (like this), column's type here isftWideString :
ShowMessage(TСlientDataSet1.FieldByName('Name').As String);
ShowMessage(DataSource1.DataSet.FieldByName('Name' ).AsString);
May be it is wrong assumption, but I guess at this point everything is OK (data in correct encoding).

But in DBGrid it is shown in wrong way.

Thanks.
  Mit Zitat antworten Zitat