Solved

Input and show Unicode in Delphi applications

Posted on 2000-04-13
7
314 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

791 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