On Sat, 4 Oct 2003 14:41:40 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:

RV> I don't like this "Unicode build" idea.

 It's much simpler than a mix of ANSI and Unicode inside the same program.

RV> It would be much easier to incrementally turn small pieces of code to
RV> wide characters and convert on boundaries to Ascii.

 Boundaries would include all GUI calls. All operations with wxString. And
probably more. This would be just crazy.

RV> Sure that those boundaries look ugly and total effort
RV> is higher that with one-time conversion, but it is easier to start.

 It is much higher and I don't think that converting to Unicode is that
difficult. It's true that it's mostly mechanical work and not very fun but
at least once we do it, we should be ok.

RV> > RV> I hear that not all wxWindows ports support wide characters
RV> > 
RV> >  No, for example GTK1 port doesn't (GTK2 does). Also, under Windows using
RV> > Unicode under Win9x is quite interesting and until very recently was
RV> > impossible at all.
RV> 
RV> I don't quite understand this.

 Win9x doesn't support Unicode version of Win32 API natively. Recently, MS
released MSLY (Layer for Unicode) which emulates it by doing what you say
below. It is much better than before but it is unfortunately quite buggy.

RV> Ascii part of text always survives
RV> conversion. If you manage to pass correct encoding along the way
RV> (presumably it cannot be detected automatically), localized text will
RV> survive too even on non-Unicode platforms. We would both use wide
RV> characters and set correct encoding. Encoding would be ignored on platforms
RV> with wide characters.

 Mahogany unfortunately wants to work with many languages and encodings at
once. I.e. if you write your mail in Russian even under Russian version of
Windows it's not going to work [without extra effort] because Windows uses
CP1251 and most people use KOI8-R for email.

 Regards,
VZ



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to