Re: utf-16 and glib

2009-01-26 Thread Martin (OPENGeoMap)
Philip Withnall escribió: On Tue, 2009-01-27 at 00:19 +0100, Martin (OPENGeoMap) wrote: hummm. Example: If we have for example a DWG binary file we have for example 15000 utf16 strings. If i use glib i need make 15000 translations utf16/utf8 to use the utf8 glib api. When i need save the

Re: utf-16 and glib

2009-01-26 Thread Martin (OPENGeoMap)
Maciej Piechotka escribió: On Mon, 2009-01-26 at 23:48 +0100, Martin (OPENGeoMap) wrote: Dominic Lachowicz escribió: What is wrong with: gchar* g_utf8_strncpy (gchar *dest,const gchar *src,gsize n); That's one not needed as strncpy should

Re: utf-16 and glib

2009-01-26 Thread Martin (OPENGeoMap)
Dominic Lachowicz escribió: What is wrong with: gchar* g_utf8_strncpy (gchar *dest,const gchar *src,gsize n); That's one not needed as strncpy should work. hehe i know but that function it really exist: http://library.gnome.org/devel/glib/unstable/glib-Unicode-Manipulation.h

Re: utf-16 and glib

2009-01-26 Thread Martin (OPENGeoMap)
Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:49 +0100, Martin (OPENGeoMap) wrote: Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one

Re: g_malloc overhead

2009-01-26 Thread Martin (OPENGeoMap)
Maciej Piechotka escribió: On Mon, 2009-01-26 at 22:30 +0100, Martin (OPENGeoMap) wrote: hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest - it doesn't make any sense to me (it would create much mess, double the code,

Re: g_malloc overhead

2009-01-26 Thread Martin (OPENGeoMap)
hi: Well - what do you mean? Having 2 functions - one reciving utf-16 and one utf-8? To be honest - it doesn't make any sense to me (it would create much mess, double the code, make programming errors easier...). Converting? What's wrong with g_utf16_to_utf8? I was talking about a full

Re: [Vala] gobject-introspection and gtkmmproc (Re: Auto mm(C++) binding for libraries written in Vala?)

2008-10-16 Thread Martin (OPENGeoMap)
Hi, there is a link at http://live.gnome.org/GObjectIntrospection/ saying that gtkmm 'can' use gobject-introspection. Is anyone working on this / when will it likely to be done? By now they use the old system than python guys: http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-