Re: [gtkmm] Does Gtkmm, Glibmm work on systems where sizeof(wchar_t) < sizeof(gunichar)?
- From: Murray Cumming <murrayc murrayc com>
- To: Paul Elliott <pelliott io com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Does Gtkmm, Glibmm work on systems where sizeof(wchar_t) < sizeof(gunichar)?
- Date: Wed, 24 Mar 2004 01:53:26 +0100
On Tue, 2004-03-23 at 22:56, Paul Elliott wrote:
> Thus even the buffer contains varrible byte UTF8 "characters",
> the interator returns fixed size 32 bit UCS-4 characters.
>
> My point is that these are too big to fit in a wchar_t for
> those systems where sizeof(wchar_t) ==2.
So, don't put them in a wchar_t? Put them in a g_unichar?
> My original question is: "Does gtkmm, glibmm run on any systems
> where sizeof(wchar_t) == 2?" (I want my code to use another
> library (boost::regex) that needs these characters to be in wchar_t.)
If the wchar_t can not handle the locale then you probably should not be
using the library. But you'll have to do encoding conversion anyway.
Although I _think_ you are confused about the issues here, this is
really a glib question, and you might want to take it to
gtk-list gnome org to get a more informed answer.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]