zlatko
2nd November 2006, 16:50
HI all !
Hm i'll try explain its strange problem....have Linux Suse , postgresql 7.3.4, db with client_encoding = unicode. Blobs saved in db in field with type bytea. When i try get blob from db i get bad image(hex is not correct, IMHO something that have relation to unicode :o )
*** conect to database simple without setting something conection options
QByteArray pixPhoto = query.value(0).toByteArray();
Hm i'll try explain its strange problem....have Linux Suse , postgresql 7.3.4, db with client_encoding = unicode. Blobs saved in db in field with type bytea. When i try get blob from db i get bad image(hex is not correct, IMHO something that have relation to unicode :o )
*** conect to database simple without setting something conection options
QByteArray pixPhoto = query.value(0).toByteArray();