From 4a20ac4ee6cfdcff534f4b3d9ec0e104c572ff58 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 2 Mar 2004 21:41:02 +0000 Subject: [PATCH] tools/: add calls to bind_textdomain_codeset Original commit message from CVS: 2004-03-02 Christophe Fergeau * tools/gst-inspect.c: (main): * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset --- ChangeLog | 5 +++++ tools/gst-inspect.c | 2 +- tools/gst-launch.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index eb91918..fc3e0f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-02 Christophe Fergeau + + * tools/gst-inspect.c: (main): + * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset + 2004-03-02 Thomas Vander Stichele * configure.ac: diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 332b2a5..bb3f09c 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -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); diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 8216e9c..01466f1 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -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); -- 2.7.4