Merge pull request #83 from kblees/kb/gettext-encoding

gettext: always use UTF-8 on native Windows
This commit is contained in:
dscho
2015-04-09 17:35:30 +02:00

View File

@@ -12,6 +12,8 @@
# include <libintl.h>
# ifdef HAVE_LIBCHARSET_H
# include <libcharset.h>
# elif defined GIT_WINDOWS_NATIVE
# define locale_charset() "UTF-8"
# else
# include <langinfo.h>
# define locale_charset() nl_langinfo(CODESET)