I'm using Visual C++ 2005 Express Edition.
When I do:
Code: Select all
wxLogMessage(wxT("
Code: Select all
wxLogMessage(wxT("
I'm using windows XP. Isn't it supossed to be in Unicode? If it doesn't, where "is" the Unicode part in Windows XP???Jorg wrote:Please be aware that your source code is NOT unicode. So any character you use in there does not have to match to a unicode character per-ce as it might be displayed differently in another code page.
Could you elaborate a little more here. Maybe with an example...Jorg wrote: The best way is simply looking up the characters you want to display, and convert them by code to wxString, and display that in your dialog.
Visual C++ 2005 Express Ed. does not seem to handle different encodings.geralds wrote:I would have expected Visual C++ to handle Unicode characters entered in the IDE out of the box, but it's possible that changing the encoding will help.
-Gerald
Just confirming that studio 2005 handles unicode char in source files seamlessly. But I failed to display them, when run. Says, cant display in current codepage. It was my test program's fault i believe not MS's.Ugly! wrote: I blame M$ for this one (no Unicode support in source files?). (unless someone set me right)
Sorry, I didn't understand. Would you care to elaborate please?alamgir99 wrote: Just confirming that studio 2005 handles unicode char in source files seamlessly. But I failed to display them, when run. Says, cant display in current codepage. It was my test program's fault i believe not MS's.
al
But I don't know where the problem is. Is it the IDE or the compiler? I'm guessing the compiler is the one that should support different source files encoding.JSThePatriot wrote:Code::Blocks is an excellent IDE, and allows you to change the encodings that the files are opened in.
JS