Re: Correct display of UTF-8 messages
Xavier Nodet <[email protected]>
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 29 Nov 2005 01:13:05 +0100 Vadim Zeitlin <[email protected]> wrote: > On Mon, 28 Nov 2005 09:07:32 +0100 Xavier Nodet <[email protected]> wrote: > XN> I bounced you such a message, Vadim. On <[email protected]>... > I do get wrong display (+ the error messages in case of > the HTML viewer) as well. Just to be sure that I understand correctly: do > you mean that exactly the same message is displayed correctly by a previous > snapshot? The latest Windows snapshot on Sourceforge does display this message correctly when using the Text-only and the Default viewers, but not when using the HTML one (same problem as you saw). I'm pretty sure I once got a snapshot that was compiled with Unicode support and that was working fine. But I can't find it anymore... So I tried to define wxUSE_UNICODE, but got tons of compilation errors of the following kind. This code _T("First part of string " "and then second part") can not be compiled with MSVC because the preprocessor first kicks in and translates this to L"First part of string " "and then second part" and then only the compilers tries to merge the two strings but complains that they are not of the same type (one wide chars and one not)... -- Xavier Nodet "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, 1759. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click