Solved

Input and show Unicode in Delphi applications

Posted on 2000-04-13
7
315 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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