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
Solved

Converting application to Unicode

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
Simple Delphi Question 9 96
error 1.1 400 Bad request idhttp delphi 18 144
Printing problem 2 101
How to build JSON File in Delphi 6 3 45
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…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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