[Xfce4-commits] <mousepad:master> Set textdomain codeset to utf-8.

Nick Schermer noreply at xfce.org
Sun Dec 30 15:26:01 CET 2012


Updating branch refs/heads/master
         to 65972f7925b8f810a7356eddad80e559ad64e03c (commit)
       from bd725ea7e5fdce6887c00bc4d78be3e3938340e9 (commit)

commit 65972f7925b8f810a7356eddad80e559ad64e03c
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 30 15:23:52 2012 +0100

    Set textdomain codeset to utf-8.

 mousepad/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mousepad/main.c b/mousepad/main.c
index 97de767..4ad6c1d 100644
--- a/mousepad/main.c
+++ b/mousepad/main.c
@@ -72,6 +72,7 @@ main (gint argc, gchar **argv)
 
   /* bind the text domain to the locale directory */
   bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 
   /* set the package textdomain */
   textdomain (GETTEXT_PACKAGE);


More information about the Xfce4-commits mailing list