Re: g_utf8_strlcpy

2008-10-31 Thread Christian Dywan
Am 29 Oct 2008 10:24:09 -0400 schrieb "PHILIP PAGE, BLOOMBERG/ 731 LEXIN" <[EMAIL PROTECTED]>: > I see that http://bugzilla.gnome.org/show_bug.cgi?id=520116 has been > entered to develop a utf8 version of strlcpy. Has anyone done this? > Below is a proposed implementation and some test cases. > >

g_utf8_strlcpy

2008-10-30 Thread PHILIP PAGE, BLOOMBERG/ 731 LEXIN
I see that http://bugzilla.gnome.org/show_bug.cgi?id=520116 has been entered to develop a utf8 version of strlcpy. Has anyone done this? Below is a proposed implementation and some test cases. Philip Page Bloomberg LP /** * g_utf8_strlcpy: * @dest: buffer to fill with characters from @src