Re: CLASSINFO && Unicode Issue

[email protected] (Robert Roebling)
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Bryan Bulten wrote:

> After a bit more research, I discovered that wxChar is 2
> bytes or Windows, and 4 bytes in Linux.

Right.

> The most unfortunate part about this is that
> mono/Portable.NET and the C# standard use
> 2 byte char's.  Basically, this means
> that sending a wxChar* to C# in Linux won't
> work correctly.

This is not as unfortunate as it may sound.
Under GTK2, all strings are in UTF8 format
so we convert them from wxChar to that 
format each time. This isn't really a 
problem. We just need to know which format
C# uses (UTF16?) and convert to that format
on the fly.

  Robert

-- 
Robert Roebling, MD <[email protected]>


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.