diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2011-01-09 05:40:25 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2011-01-09 05:40:25 +0100 |
commit | 800a381129a6cab50a63be9491b469532a653730 (patch) | |
tree | 5e011e0faafb873749e0ddbe10960c5c99e70612 /src | |
parent | 3aeedd37b69514d3279b0ebfb9abb43a359c3450 (diff) | |
download | logdiag-800a381129a6cab50a63be9491b469532a653730.tar.gz logdiag-800a381129a6cab50a63be9491b469532a653730.tar.xz logdiag-800a381129a6cab50a63be9491b469532a653730.zip |
Call bind_textdomain_codeset().
Diffstat (limited to 'src')
-rw-r--r-- | src/logdiag.c | 3 |
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 |