MoonchildHK
Programmer
Hi,
I am trying to write a unicode application for windows, but not having much luck.
I noticed that on Internet Explorer (and other windows programs, even the 'Run' box) you can paste in double-byte characters (chinese in this case, I ctrl-c the text from Yahoo! Hong Kong website). The text shows up as it should. You can even have Chinese, Korean and English on one line in the IE URL edit box!
In my application however, it shows up as question marks. I tried to find documentation on this, but there is not much around. I found something about the -WU switch, which I did add to the compiler options, but it doesn't seem to help. I also tried using '#define UNICODE' and also '#define _UNICODE' and again that made no difference :-(
How can I get my program to work like the other windows programs do with double-byte characters? (I know that some routines support it and some don't, that's no problem, I just want the interface to accept double-byte text). I hope the answer is not "use Visual C++" because I am very fond of BCB, and don't like Microsoft products too much!
Thanks for any help,
Moonchild
I am trying to write a unicode application for windows, but not having much luck.
I noticed that on Internet Explorer (and other windows programs, even the 'Run' box) you can paste in double-byte characters (chinese in this case, I ctrl-c the text from Yahoo! Hong Kong website). The text shows up as it should. You can even have Chinese, Korean and English on one line in the IE URL edit box!
In my application however, it shows up as question marks. I tried to find documentation on this, but there is not much around. I found something about the -WU switch, which I did add to the compiler options, but it doesn't seem to help. I also tried using '#define UNICODE' and also '#define _UNICODE' and again that made no difference :-(
How can I get my program to work like the other windows programs do with double-byte characters? (I know that some routines support it and some don't, that's no problem, I just want the interface to accept double-byte text). I hope the answer is not "use Visual C++" because I am very fond of BCB, and don't like Microsoft products too much!
Thanks for any help,
Moonchild