| Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 | 1. wxWindows and UNICODE #2784 | Hi.
I have to develop an application tha is able to show in a Text Control any UNICODE character. I developed a sample which makes use of wxString, wxChar and wxT(), I compiled it with wxUSE_UNICODE set to 1, and I launched. However, if I create a string like "x0045x0123xD09E" and set text control to it, I cannot see the corresponding UNICODE characters. I use Arial Unicode MS font in Windows, but I get no result.
Any help appreciated. A sample too ;-))))
Dario de Judicibus, Roma, Italia | 2. Re: wxWindows and UNICODE #2787 Posted by: upCASE 2003-10-28 09:16:22 | Hi Dario! I'm just curious: " I compiled it with wxUSE_UNICODE set to 1"... Do you mean you have wxWindows compiled with that option set un setup.h or did you define this for the project? To display Unicode, I guess you'll need a unicode enabled and compiled wxWindows lib. Adding a define for the projects won't be enough.
upcaseupCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! | 3. Re: wxWindows and UNICODE #2788 | Oh oh...
No. I did just for the project. I read somewhere that I have NOT to change setup.h, otherwise you get wrong output... I think in manual, UNICODE section...
So, I have to rebuild wxWindows? Are you sure? That might be the reason why I have not obtained any result in UNICODE enabling. Do you know anybody who developed UNICODE enabled applications by wxWindows? I would really appreciate some support...
Dario | 4. Re: wxWindows and UNICODE #2801 Posted by: upCASE 2003-10-29 01:53:19 | Hi! Nope, I don't know someone who uses a unicode version... Personally I don' use it because I need the wxODBC classes and they're said to have a problem with unicode. Browse through the setup.h to get some info about unicode. To be honest I'm not really sure if you'll have to recompile... In setup.h it says for wxUSE_WCHAR_T "// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without // compiling the program in Unicode mode. More precisely, it will be possible // to construct wxString from a wide (Unicode) string and convert any wxString // to Unicode."
But I guess to have "full" support you'd have to get a unicode compiled lib (libwxmswu.a). Maybe some other people can comment on this...
upcaseupCASE ----------------------------------- If it was hard to write, it should be hard to read!- Do. Or do not. There is no try! | 5. Re: wxWindows and UNICODE #2806 | Thank you. I'll look around for some wxWindows based application in some oriental country. Maybe author could help.
DdJ | Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1 |
|
|