summaryrefslogtreecommitdiff
path: root/src/logdiag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logdiag.c')
-rw-r--r--src/logdiag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logdiag.c b/src/logdiag.c
index 9752978..18ea843 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -2,7 +2,7 @@
* logdiag.c -- logdiag main source file.
*
* This file is a part of logdiag.
- * Copyright Přemysl Janouch 2010. All rights reserved.
+ * Copyright Přemysl Janouch 2010 - 2011. All rights reserved.
*
* See the file LICENSE for licensing information.
*
@@ -24,6 +24,7 @@ main (int argc, char *argv[])
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_DOMAIN, GETTEXT_DIRNAME);
+ bind_textdomain_codeset (GETTEXT_DOMAIN, "UTF-8");
textdomain (GETTEXT_DOMAIN);
#endif