Solved

Converting application to Unicode

Posted on 2003-12-11
3
322 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 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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