Page 1 of 1

Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem

Posted: 25.10.2008, 19:09
by patyi
Hi all !

I have problem with Lazarus 0.9.26. In DBGrid I can't see some Varchar(30) fields with charset NONE, and contain East Europeean characters. Those field values is totally empty (invisible)-nothing is shown !
Fields that not contain this characters is shown normaly.

Specification :
Lazarus 0.9.26, Firebird 2.1, Database default charset is NONE, in all tables the charset and collation is also NONE.

I think it is related with Lazarus and UTF8 support, but I don't know how to solve the problem. (with Lazarus 0.9.24+Zeos 6.6.3 is working OK)

Thanks for your help ...

Posted: 26.10.2008, 11:33
by seawolf
I think you should send a message to Lazarus forum or continue using the old version.

Probably you have discovered a Lazarus bug

Posted: 26.10.2008, 20:21
by patyi
I'm not sure that is the Lazarus bug, so I made an litle test program with Lazarus SQLDB components and it is correct !!! :shock:
In TIBConnection you can specify CharSet=UTF8 property and it's wirk !

Certanly I try to set ZConnection parameter : codepage=EAST_EUROPEEAN or UTF8 ... but with no affect ... :(

Solved problem with charset

Posted: 27.10.2008, 10:15
by patyi
Problem is solved ! :D

I convert database : default charset to UTF8, all varchar, char filelds charset, collation to UTF8 and in ZConnection.Properties I put line : charset=UTF8.

I's now wok fine !!! :lol: