VISOCO Software  Home | Products | Services | Download | Order | Support | Forum | Resources | Search | About
  RSS feedRSS Feed  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  RegisterRegister   ProfileProfile    Log inLog in 
Internationalization support

 
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE
Author Message
qchen



Joined: 08 Nov 2004
Posts: 1

PostPosted: Mon Nov 08, 2004 8:19 pm    Post subject: Internationalization support Reply with quote

Hello,

Does the dbExpress driver support internationalization (unicode, UTF-8 etc)? do you have some Delphi sample code that shows how to retrieve UTF-8 encoded Text field data?

Thanks in advance!
Back to top
View user's profile Send private message
VISOCO
VISOCO Software Manager


Joined: 15 Jul 2002
Posts: 48

PostPosted: Wed Nov 10, 2004 10:21 am    Post subject: RE: Internationalization support Reply with quote

Hi,

Unfortunately, dbExpress technology itself doesn't support Unicode.
_________________
Best regards,
VISOCO Software Team
--
VISOCO Software - Sybase connectivity products
Back to top
View user's profile Send private message Send e-mail Visit poster's website
VISOCO
VISOCO Software Manager


Joined: 15 Jul 2002
Posts: 48

PostPosted: Wed Nov 10, 2004 6:54 pm    Post subject: RE: Internationalization support Reply with quote

We think, the next method can help (or something like this)

If you have a field like
data univarchar(100)
you can do something like
select convert(varbinary(200), data) as data from TestTable

Then, the following code will extract and convert the binary data

var
S: String;
W: WideString;
begin
...
S := SQLDataSet1.Fields[0].AsString;
W := WideCharToString(PWideChar(Pointer(S)));
...
end
_________________
Best regards,
VISOCO Software Team
--
VISOCO Software - Sybase connectivity products
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    VISOCO Software Forum Index -> VISOCO dbExpress driver for Sybase ASE All times are GMT + 2 Hours
Page 1 of 1

 


©VISOCO Software. phpBB by phpBB Group