Problems with strings with extended ASCII

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for PostgreSQL in Delphi and C++Builder
Post Reply
ggroke
Posts: 4
Joined: Sat 15 Oct 2011 22:44

Problems with strings with extended ASCII

Post by ggroke » Mon 21 May 2012 02:01

Hello,

I am connecting to a database whose string fields use extended ASCII characters (i.e., accented characters), but whenever I retrieve those fields, these characters disappear, for instance, if the field contains "fiancé", I get "fianc".

Is there any fix for this?

Best regards,

GG

ROD
Devart Team
Posts: 23
Joined: Mon 07 May 2012 09:09

Re: Problems with strings with extended ASCII

Post by ROD » Tue 22 May 2012 07:48

Hello,

In your connection, set the UseUnicode property to True. Then you should recreate all text fields of dataset-components in Fields Editor (in order that the "wide" prefix appears in the field type name).
If this does not work, specify the versions of Delphi, database and components. And send us a simple example where this does not work.

Post Reply