From: Ethan B. <ebl...@cs...> - 2002-10-15 15:58:47
|
David Odin spake unto us the following wisdom: > + buf2 =3D g_locale_to_utf8(buf2, -1, NULL, NULL, NULL);*/ > + write_to_conv(c, g_locale_from_utf8(buf, -1, NULL, NULL, NULL), WFL= AG_SEND, NULL, time(NULL), -1); > + buf2 =3D g_locale_to_utf8(buf2, -1, NULL, NULL, NULL); > + write_to_conv(c, g_locale_from_utf8(buf, -1, NULL, NULL, NULL), WFL= AG_SEND, NULL, time(NULL), -1); > + textutf8 =3D g_locale_to_utf8(text, -1, NULL, NULL, NULL); These make me nervous ... input taken from a native gtk2 widget should *already* be UTF-8, and shouldn't have to be converted... If this isn't the case, something funky is going on here. Ethan --=20 And if I claim to be a wise man / it surely means that I don't know. -- Kansas, "Carry on Wayward Son" |