BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dbExpress - no Unicode support

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Dmitry Arefiev [gs-soft.r
Guest





PostPosted: Tue Apr 13, 2004 6:20 pm    Post subject: dbExpress - no Unicode support Reply with quote



Hello All !

We are now testing dbExpress with DB2. And our last results,
as a lot of previous, allows me to state - dbExpress does not
support Unicode.

dbExpress specification has almost (how to say that ...) nothing
about Unicode.

1) Type fldZSTRING has fldstUNICODE and fldstFIXED
subtypes. Either either ... So, either Unicode, either Fixed.
What about Fixed Unicode ? Kind of WCHAR ?

2) Much more complex is with text blob fields. Type is
fldBLOB, but then few subtypes:
- fldstMEMO
- fldstHMEMO
- fldstGRAPHIC (DB2 graphis field or field containing
picture ?)
each of them may contain Unicode data.

3) Unicode is native to .Net platform. So **how** dbExpress
may be used there ? Drivers was rewrote ? I think - no ...
Also, how chiniese or japaniese Delphi version may be used
by native speekers ?? Anybody has some idea ?

So, IMHO, FIXED and UNICODE should be an attributes,
and implemented as other ISQLCursor "attributes" using methods,
like a:
- isAutoIncrement
- isBlobSizeExact.

So:
- isFixed
- isUnicode

All what we see in DBXpress unit is a "copy and past"
from BDE unit. But last one is depricated. So, why to copy
"depricated" things ?! Which anyway will not work right
in .Net ...

Regards,
Dmitry

--
Dmitry Arefiev, gs-soft Company, community.gs-soft.com
Personal - www.da-soft.com

SAPx - Delphi to SAP R/3 direct access
Saphir - SAP R/3 metadata on your fingertips
MetaBase - ERWIN model in Delphi applications
NCOCI8 - Freeware Delphi to ORACLE direct access
Back to top
Dmitry Arefiev [gs-soft.r
Guest





PostPosted: Tue Apr 13, 2004 6:56 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote



As i see - specification remains unchanged. If so, then
implementation either follows interface, either will break
existing code. Is not ?

--
Dmitry Arefiev, gs-soft Company, community.gs-soft.com
Personal - www.da-soft.com

SAPx - Delphi to SAP R/3 direct access
Saphir - SAP R/3 metadata on your fingertips
MetaBase - ERWIN model in Delphi applications
NCOCI8 - Freeware Delphi to ORACLE direct access

Craig Stuntz [TeamB] wrote:
Quote:
Dmitry Arefiev [gs-soft.ru] wrote:

3) Unicode is native to .Net platform. So how dbExpress
may be used there ? Drivers was rewrote ? I think - no ...

dbExpress was certainly updated for D8. I don't know if Unicode
issues were addressed or not, but I do know that the drivers changed.

-Craig

Back to top
Craig Stuntz [TeamB]
Guest





PostPosted: Tue Apr 13, 2004 7:49 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote



Dmitry Arefiev [gs-soft.ru] wrote:

Quote:
3) Unicode is native to .Net platform. So how dbExpress
may be used there ? Drivers was rewrote ? I think - no ...

dbExpress was certainly updated for D8. I don't know if Unicode
issues were addressed or not, but I do know that the drivers changed.

-Craig

--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
Please read and follow Borland's rules for the user of their
news server: http://info.borland.com/newsgroups/guide.html

Back to top
Ramesh Theivendran(Borlan
Guest





PostPosted: Wed Apr 28, 2004 8:47 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote

There was no work done for Unicode enablement and the issue that Dmitry
mentions exists in the product.

T.Ramesh.
"Craig Stuntz [TeamB]" <cstuntz (AT) nospam (DOT) please [a.k.a. vertexsoftware.com]>
wrote in message news:407c3650$1 (AT) newsgroups (DOT) borland.com...
Quote:
Dmitry Arefiev [gs-soft.ru] wrote:

3) Unicode is native to .Net platform. So how dbExpress
may be used there ? Drivers was rewrote ? I think - no ...

dbExpress was certainly updated for D8. I don't know if Unicode
issues were addressed or not, but I do know that the drivers changed.

-Craig

--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
Please read and follow Borland's rules for the user of their
news server: http://info.borland.com/newsgroups/guide.html



Back to top
Thomas Miller
Guest





PostPosted: Wed Apr 28, 2004 9:39 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote

Is this something we can hope for in D9? Just so others understand the
scope, the whole VCL will have to be updated to use WideString vs
String. I don't know all the issues, but I guess it is more then just
a search and replace :-;

Ramesh Theivendran(Borland) wrote:
Quote:
There was no work done for Unicode enablement and the issue that Dmitry
mentions exists in the product.

T.Ramesh.


--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork

http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus

Back to top
Craig Stuntz [TeamB]
Guest





PostPosted: Thu Apr 29, 2004 12:28 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote

Thomas Miller wrote:

Quote:
Is this something we can hope for in D9? Just so others understand
the scope, the whole VCL will have to be updated to use WideString vs
String.

No. Unicode support can be added/enhanced in dbExpress without making
the data-aware controls Unicode-enabled. Many people use dbExpress
without ever touching data-aware controls (e.g., in web apps).
Furthermore, there are alternative data controls which do support
Unicode. So it is not necessary to change the VCL (for Win32 -- the
VCL for .NET is already Unicode) to get the features Dmitry wants.

Quote:
I don't know all the issues, but I guess it is more then
just a search and replace :-;

Among other things, it would probably require dropping support for
Win98 and would break existing code which depends on byte indexing of
strings.

-Craig

--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
Please read and follow Borland's rules for the user of their
news server: http://info.borland.com/newsgroups/guide.html

Back to top
Dmitry Arefiev [gs-soft.r
Guest





PostPosted: Thu Apr 29, 2004 1:16 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote

Hello !

Quote:
Unicode. So it is not necessary to change the VCL (for Win32 -- the
VCL for .NET is already Unicode) to get the features Dmitry wants.

Not a "Dmitry wants", but "corporate developers needs" <g>

Quote:
Among other things, it would probably require dropping support for
Win98 and would break existing code which depends on byte indexing of
strings.

As always, it is not problem to add:
- connection option - "enable unicode support". It will be disabled
by default. So, no problems with compatibility.
- new data types ftWideFixedString, ftWideMemo, etc. So, unicode
enabled application will be able to use unicode in full scale.

Of course, remains interesting questions with >= 2 byte/char Unicode.
But it main remain ftBlob.

Regards,
Dmitry

--
Dmitry L. Arefiev, gs-soft Company, http://www.gs-soft.com
Personal - http://www.da-soft.com

SAPx - Delphi to SAP R/3 direct access
Saphir - SAP R/3 metadata on your fingertips
MetaBase - ERWIN model in Delphi applications
NCOCI8 - Freeware Delphi to ORACLE direct access



Back to top
Craig Stuntz [TeamB]
Guest





PostPosted: Thu Apr 29, 2004 1:17 pm    Post subject: Re: dbExpress - no Unicode support Reply with quote

Dmitry Arefiev [gs-soft.ru] wrote:

Quote:
Among other things, it would probably require dropping support for
Win98 and would break existing code which depends on byte indexing
of strings.

As always, it is not problem to add:
- connection option - "enable unicode support". It will be disabled
by default. So, no problems with compatibility.

No, I meant for the VCL, not for dbExpress. I don't see a big problem
adding the features your corporation wants to dbExpress.

-Craig

--
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
InterBase in Multi-tier World -- Use multiple RDMs, IB features in
your appserver: http://delphi.weblogs.com/stories/storyReader$195

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.