Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Converting application to Unicode

Posted on 2003-12-11
3
Medium Priority
?
329 Views
Last Modified: 2010-04-05
I would like to convert my application to Unicode so that it can display Chinese characters or french characters on a same form.

Is there an easy way to do such a conversion or do I need to change each component I use?

I have been looking at http://home.ccci.org/wolbrink/tnt/delphi_unicode_controls.htm and this seems to do a great job but I use third party components such as TIBEAntialiasButton which are not covered there.


0
Comment
Question by:moonrise
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
bpana earned 500 total points
ID: 9922960
hi,

yes, you have to replace all the components you use that are not unicode compliant.

you have to work with WideString in place of String due to the fact that for WideString each character is represented on 2 octets (unicode) while for String only on 1. For the WideString (WideChar) the first octet represent the mask (the language) and the second is the value.

so, it is obvious that you must use only unicode components.

regards,
Bogdan.
0
 

Author Comment

by:moonrise
ID: 9934578
So if I replace String for WideString in my code, will it automatically not work with Win 98/ME?
0
 
LVL 6

Expert Comment

by:bpana
ID: 9935862
no, it should work.

Bogdan
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview
Suggested Courses

885 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