AL32UTF8 and AL16UTF16

AL32UTF8 and AL16UTF16

Postby occhiostanco » Tue 18 Sep 2007 09:24

Hi all,
we are using dbExpress for oracle 3.20.9 with Delphi 7.

We are experimenting problems with characterset AL32UTF8 and AL16UTF16.
Persistent TStringFileds are generated with double size (in AL16UTF16)
and *4 size (in AL32UTF8).
So a VARCHAR2 (16 CHAR) results in a TstringField.Size=32 in AL16UTF16
and in a TstringField.Size=64 in AL32UTF8

Any idea?

Thanks in advance
Roberto
occhiostanco
 
Posts: 1
Joined: Tue 20 Mar 2007 14:55

Postby Plash » Wed 19 Sep 2007 07:47

The Size property of TStringField contains the field size in bytes. So, it is normal behaviour that field size is 32 bytes in UTF-16 and 64 bytes in UTF-8.
Plash
Devart Team
 
Posts: 2844
Joined: Wed 10 May 2006 07:09


Return to dbExpress driver for Oracle