On Sun, 2006-02-12 at 20:04 +0100, Vadim Zeitlin wrote:
> On Sun, 12 Feb 2006 20:57:10 +0200 Mart Raudsepp <[EMAIL PROTECTED]> wrote:
> 
> MR> Does that mean there are problems with using wxGTK2 unicode? Well, other
> MR> than wxString starting to be way too huge of a memory consumer.
> 
>  Porting a 200kLoC application to Unicode is unfortunately far from
> trivial. Especially as you can't allow to just convert eveyrthing to
> Unicode because it's not going to be a very good idea when dealing with
> (potentially) multi megabyte mail messages.

I don't like the fact that wxString stores characters as 4 bytes either
with unicode builds. So I'll probably look in the future on making it
work with one bytes properly.
My idea is that the unicode vs non-unicode builds concept should be
dropped, and replaced by a multibyte vs wide string wxString build
concept, dealing with all the things that creep up on the way.
But more on this over at wx-dev once I have other stuff out of the way
(in a month?).
Maybe that's basically a matter of making wxGTK work properly in
non-unicode builds, for the wxGTK case - and perhaps some A vs W suffix
work on wxMSW, where it matters - if anywhere.

Meanwhile, fortunately, I was able to convert my 27kLoC project to
unicode. Didn't have to deal with encodings that much due to the
different nature of the app.

As for encodings, we could assume GTK+-2.2 to be the minimal supported
version (after discussion) and use some stuff in font-config directly?
I think I posted some more details on wx-dev back then, regarding
font-config usage for encodings.

For which cases do you need the encodings exactly in Mahogany?

-- 
With regards,
Mart Raudsepp

Project manager of wxMUD
E-mail: [EMAIL PROTECTED]
http://wxmud.sourceforge.net/



-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to