Re: [gtkmm] Does Gtkmm, Glibmm work on systems where sizeof(wchar_t) < sizeof(gunichar)?



On Tue, 2004-03-23 at 18:49, Paul Elliott wrote:
> On Tue, Mar 23, 2004 at 10:18:06AM +0100, Murray Cumming wrote:
> > On Tue, 2004-03-23 at 03:37, Paul Elliott wrote:
> > > I am told that there are some systems where sizeof(wchar_t) == 2.
> > > On these systems the c locale can only support UCS-2 not UCS-4!
> > > 
> > > Has Gtkmm or Glibmm been ported to any of these systems?
> > 
> > I have no idea. I think linux and GTK+ usually use UTF8 rather than UCS2
> > or UCS4, and there is a working Windows port.
> > 
> 
> 
> My understanding is that the buffers in Glib:ustring Gtk::TextBuffer
> contain UTF8, but the iterators interate over gunichar which are UCS-4.

The TextBuffer iterators iterate over characters. Please point me to
exactly the API reference (or a code example) for what you mean.
Iterating over bytes would be almost useless.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]