Solved

Converting application to Unicode

Posted on 2003-12-11
3
326 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
[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
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
bpana earned 125 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 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