Hello Lazarus,

I'm now "upgrading" a Lazarus 0.9.24 DB project to 0.9.25 with by
default unicode support. The problem is that the database can not
currently be upgraded to be unicode compliant so it is using the
default codepage meanwhile all the visual objects like dbgrid are
unicode.

The problem is that when a text field has a "special" character
(codepage) the string fails to be rendered displaying nothing (blank
line) and I'm unable to find a way to insert the Utf8ToAnsi and
AnsiToUtf8 conversions somewhere.

My layout is a non visual firebird connection which is linked to the
visual object after form creation and the connection is linked to a
SQLQuery -> DataSource -> DBGrid

May anybody help me in the best way to insert the necessary
conversions ?

Note: I'm not using the fields definition in the SQLQuery object as at
design time the database connection is not present in the form.

-- 
Best regards,
 JoshyFun

_______________________________________________
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to