Solved

Input and show Unicode in Delphi applications

Posted on 2000-04-13
7
320 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

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.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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