Please, please, please don't switch to UTF-16. To me gtk is about
getting to use technologies that are solid, real, fun, and
effective. Principally, that means C and *nix. UTF-8 is the greatest
thing for one reason that kills all the others: solid compatibility with
both of the above. I think
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.html#g-utf8-strncpy
It does make sense.
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 reciving utf-16 and
one utf-8? To be honest - it
On Mon, 2009-01-26 at 23:01 +0100, Martin (OPENGeoMap) wrote:
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:
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 work.
hehe i know but that function it really
Glib/gtk is full of macros. I believe que a C compiler is the right place to
this kind of unsafe code. If i want create safe code i have c#,c++, JAVA, D
or VALA.
Using macros is the only way to ensure intermediate APIs don´t have any
overhead. Besides modern GUIs have support to understand
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
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:
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 work.
hehe i know but that function it really exist: