Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
patyi
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 12.11.2005, 21:57

Lazarus 0.9.26+Firebird 2.1+Zeos 6.6.3 CharSet problem

Post 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 ...
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post 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
patyi
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 12.11.2005, 21:57

Post 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 ... :(
patyi
Fresh Boarder
Fresh Boarder
Posts: 24
Joined: 12.11.2005, 21:57

Solved problem with charset

Post 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:
Post Reply