tools/: add calls to bind_textdomain_codeset
authorChristophe Fergeau <teuf@gnome.org>
Tue, 2 Mar 2004 21:41:02 +0000 (21:41 +0000)
committerChristophe Fergeau <teuf@gnome.org>
Tue, 2 Mar 2004 21:41:02 +0000 (21:41 +0000)
Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main): add calls to bind_textdomain_codeset

ChangeLog
tools/gst-inspect.c
tools/gst-launch.c

index eb91918..fc3e0f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-02  Christophe Fergeau  <teuf@gnome.org>
+
+       * tools/gst-inspect.c: (main): 
+       * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
+
 2004-03-02  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * configure.ac:
index 332b2a5..bb3f09c 100644 (file)
@@ -919,8 +919,8 @@ main (int argc, char *argv[])
     POPT_TABLEEND
   };
 
-  setlocale (LC_ALL, "");
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
   gst_init_with_popt_table (&argc, &argv, options);
index 8216e9c..01466f1 100644 (file)
@@ -371,8 +371,8 @@ main(int argc, char *argv[])
 
   free (malloc (8)); /* -lefence */
 
-  setlocale(LC_ALL, "");
   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+  bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
 
   gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE);