On Mon, 26 Aug 2002 15:12:31 +0200 (EET) Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> BTW, Vadim, wxgtk using GTK+ 2 and Unicode seem to be working, maybe it could NB> be possible to compile Mahogany in Unicode mode already? Well, it's surely impossible to do it right now (i.e. without any changes) as you've already discovered. Making these changes shouldn't be that difficult, although it undoubtedly will take quite some time, but I don't realyl understand what will we gain from it. Supporting sending/receiving messages in UTF7/8 should work in ANSI build as well. NB> How much work would it take to fully support UTF8? Sending is trivial (just generate set charset to utf-8). The real problem is editing the message -- the composer doesn't support Unicode at all. What else is there? ... NB> OK, I tried. How should I deal with: NB> /a/M/M/include/MFrame.h: In member function `const char* MFrameBase::GetName() NB> const': NB> /a/M/M/include/MFrame.h:33: cannot convert `const wxChar*' to `const char*' in NB> return You should replace char in function signature with wxChar. And do the same thing in about one zillion other places. However please do *NOT* do global search and replace because in some places (e.g. where c-client functions are involved) chars should be kept unchanged and the translation between wchar_t and char should be done in Unicode build. NB> /a/M/M/include/MailFolder.h:975: cannot convert `const char*' to `const NB> wxChar*' for argument `5' to `void wxAssert(int, const wxChar*, int, const NB> wxChar*, const wxChar*)' The ASSERT_MSG() in Attach() (in MObject.h) should use _T() around the literal string. Again, the same should be done in many more places. Regards, VZ ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
