After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 95810 - call g_print() before gtk_init() make g_local_to_utf8 fail
call g_print() before gtk_init() make g_local_to_utf8 fail
Status: RESOLVED DUPLICATE of bug 79529
Product: glib
Classification: Platform
Component: general
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2002-10-15 12:42 UTC by huzheng
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description huzheng 2002-10-15 12:42:52 UTC
if call g_print() before gtk_init() (this may happen in c++'s global class
's constructor or just in the main() function.),then later call
g_local_to_utf8(or g_filename_to_utf8) will abnormal(return NULL) when the
char is not a english char(i.e. Chinese),if not call g_print() before
gtk_init(),that ok.
Comment 1 Owen Taylor 2002-10-15 13:34:06 UTC

*** This bug has been marked as a duplicate of 79529 ***