Page 1 of 1

IBDac not displaying certain chars from Unicode_FSS db

Posted: Thu 06 May 2010 13:54
by upscene
Hi,

UseUnicode is True.

I have here a certain test database from a customer, it was created with char set UNICODE_FSS and manipulated with IBObjects.

My own IBO application displays the characters just fine, now when using IBDac, setting UseUnicode to True, the non ASCII characters aren't displayed.

Can I send this database somewhere?

With regards,

Martijn Tonies
Upscene Productions

Posted: Tue 11 May 2010 07:17
by Dimon
To solve the problem try to set the UseUnicode option to False and the TIBCConnection.Options.Charset property to UNICODE_FSS.
If it doesn't solve the problem, please send me your database to dmitryg*devart*com.

Posted: Tue 11 May 2010 07:31
by upscene
Dimon wrote:To solve the problem try to set the UseUnicode option to False and the TIBCConnection.Options.Charset property to UNICODE_FSS.
If it doesn't solve the problem, please send me your database to dmitryg*devart*com.
I believe I was told that UseUnicode uses UNICODE_FSS always?

What would be the difference between these two?

Posted: Tue 11 May 2010 09:33
by Dimon
When UseUnicode is True IBDAC creates WideString fields instead of String fields.

Posted: Tue 11 May 2010 09:45
by upscene
Dimon wrote:When UseUnicode is True IBDAC creates WideString fields instead of String fields.
Does a string-field make sense for Unicode_FSS charset? This cannot display the special chars properly, right?

Mind you, this is a generic application so it should work for all occasions. Currently, UseUnicode is set to False when the charset is NONE, but for all others, it's set to True.

Posted: Wed 12 May 2010 09:54
by Dimon
upscene wrote:Can I send this database somewhere?
Please, send me a small sample to demonstrate the problem and the database to dmitryg*devart*com.