Solved

Converting application to Unicode

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now