If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Delphi, Unicode, UTF8 and Sybase Anywhere

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-05, 13:26
Eneko Alonso Eneko Alonso is offline
Registered User
 
Join Date: Jan 2005
Location: California
Posts: 9
Delphi, Unicode, UTF8 and Sybase Anywhere

Hello all.

I would like to know the best way to develop multilanguage software, with multi-character encoding in Delphi 7.

I'm looking into TNT Unicode components, which look very well. But they work with unicode strings (widestrings) only.

My problem is my database server is Sybase SQL Anywhere Studio 8 (we will migrate to 9 soon) and it only supports UTF8 database enconding (collate) and character set.

Does this means every time I read or write to the database I will have to encode and decode the data to/from UTF8?

What can I do with all the DB comps, like DBEdit or TntDBEdit? I tried to use them directly, but the data is loss when it goes to the database and comes back.

Is there a way to work all in UTF8 in delphi, without making any conversions?

I don't know what strategy should I have to take.

Please, let me know any ideas you have: eneko[@]enekoalonso[.]com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On