Solved

Input and show Unicode in Delphi applications

Posted on 2000-04-13
7
306 Views
Last Modified: 2010-04-04
I and my group are planning to write a MIS applicaion which can input,read, store and show unicode characters(Because the application must handle several languages at the same time). I already have a good application with the same function but can only handle chinese characters wirtten in Delphi 3 (the database is Sybase11).
As I know, Delphi's support for Unicode is very limited. So, here is my headache:
1. Should I upgrade this Delphi applicaion and make it can handle unicode characters?
If I do, how can I make it handle unicode characters?
2. Should I rewrite the application in another language? Which language should I choose?
Which way is more quick and easy?
Could you give me some suggestions?
Thank you very much
Jenny

0
Comment
Question by:shuier
  • 5
  • 2
7 Comments
 
LVL 10

Expert Comment

by:Lischke
ID: 2711459
Hi Jenny,

this seems to be very important for judged from the many eMails you sent me :-) Well, I hope you have already receive my answer.

For the question here: You said you want to support different languages. This is only possible (with acceptable effort) when using Unicode. So my answer is to use this particular encoding scheme. Depending on the professionality of the final product it could become quite much work to do when supporting several languages, because their sorting order differ as well as many other important properties like word boundaries, letter writing depending on their place in a word etc. etc.

Together with a modern OS like W2K using Unicode is the best option, because the entire system works exclusively with Unicode (except for those parts which emulate a certain environment for old programs).

Ciao, Mike
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2743053
Jenny, have you come to a conclusion? What about this questin now?

Ciao, Mike
0
 
LVL 10

Accepted Solution

by:
Lischke earned 50 total points
ID: 2758520
Hi Jenny,

you have shown no reaction so I answer your question here.

To 1) Upgrading is a good choice because Delphi 5 has many improvments and bug fixes, although it will not bring you Unicode support generally. You can download my Unicode library and my Unicode edit (www.lischke-online.de/Unicode.html), though, which will bring you much closer to a truly Unicode aware application.

To 2) Rewrite your application to use stuff like my Unicode lib but don't bother with different languages if you can have them all with Unicode. Keep in mind, the first effort is quite high to get Unicode support but once you have implemented the core you increased the value of your products remarkably and future implementations will never be that hard again.

Ciao, Mike
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:shuier
ID: 2758789
  Thank you Mike. Yes,I will try to Use Delphi 5 to rewrite my application. Thank you for your unicode lib. I am  studyding it these days and I have many questions. Should I ask you questions about it?

  ^-^  Jenny
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2758805
Of course you can ask. Contact me at public@lischke-online.de. But keep in mind also my time is limited so I may not be able to answer you all of your questions if they are too many. But I'll do my best :-)

Ciao, Mike
0
 

Author Comment

by:shuier
ID: 2758843
  Thank you Mike. Yes,I will try to Use Delphi 5 to rewrite my application. Thank you for your unicode lib. I am  studyding it these days and I have many questions. Should I ask you questions about it?

  ^-^  Jenny
0
 
LVL 10

Expert Comment

by:Lischke
ID: 2758886
Jenny, don't use your browser refresh button/command if your last image was one with input data. This will resend the formular data and lead to those multiple postings. Use instead the link labeled "Reload question" in the upper right corner.

Ciao, Mike
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now