projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inital gtk2 patch
[claws.git]
/
src
/
common
/
sylpheed.c
diff --git
a/src/common/sylpheed.c
b/src/common/sylpheed.c
index e00231e2622ed3ae4f3469f0650caa999b21460d..99b82aa80c511fdcd79f392732ef4fb4d3d7ae92 100644
(file)
--- a/
src/common/sylpheed.c
+++ b/
src/common/sylpheed.c
@@
-22,6
+22,7
@@
#endif
#include "defs.h"
#endif
#include "defs.h"
+#include <stdlib.h>
#include <glib.h>
#if HAVE_LOCALE_H
#include <glib.h>
#if HAVE_LOCALE_H
@@
-93,7
+94,9
@@
gboolean sylpheed_init(int *argc, char ***argv)
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset (PACKAGE, "UTF-8");
textdomain(PACKAGE);
textdomain(PACKAGE);
+ putenv("G_BROKEN_FILENAMES=1");
/* backup if old rc file exists */
if (is_file_exist(RC_DIR)) {
/* backup if old rc file exists */
if (is_file_exist(RC_DIR)) {