On Sat, Dec 08, 2007 at 11:45:44AM +0530, Naveen Kumar wrote: > I tried to convert the string which read from the file utf8 format > using > > g_locale_to_utf8 (string, -1 , NULL, NULL, NULL); > > but it is returning NULL string ...
Try passing a GError array as the final parameter then print out the error to see what the problem is. Per the documentation, any of the errors from the enum GConvertError may occur: http://library.gnome.org/devel/glib/unstable/glib-Character-Set-Conversion.html#GConvertError Steve _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list