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 488019 - Mention bind_textdomain_codeset in gettext related FAQ
Mention bind_textdomain_codeset in gettext related FAQ
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-10-18 19:22 UTC by Sven Arvidsson
Modified: 2008-07-06 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Arvidsson 2007-10-18 19:22:21 UTC
[ From http://bugs.debian.org/368144 by Emil Nowak ]

"in the faq:
/usr/share/doc/libgtk2.0-doc/gtk/gtk-question-index.html
in secion 1.7, we have described inrenatiolization of gtk-based programs.

However the most important (IMHO) thing, about gtk-specyfic things is missing here.

gtk uses unicode for all strings, and so we need to call:
bind_textdomain_codeset(PACKAGE, "UTF-8");

If you don't do this all non-ascii characters from *.mo files will produce FATAL worning, and they will be wrongly displayed.

This should be mentioned here in this section."
Comment 1 Matthias Clasen 2008-07-06 23:39:07 UTC
        * gtk/question_index.sgml: Mention bind_textdomain_codeset()