Skip to content

Commit d846717

Browse files
committed
Merge pull request #83 from kblees/kb/gettext-encoding
gettext: always use UTF-8 on native Windows
2 parents ebc298d + d3b9944 commit d846717

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gettext.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# include <libintl.h>
1313
# ifdef HAVE_LIBCHARSET_H
1414
# include <libcharset.h>
15+
# elif defined GIT_WINDOWS_NATIVE
16+
# define locale_charset() "UTF-8"
1517
# else
1618
# include <langinfo.h>
1719
# define locale_charset() nl_langinfo(CODESET)

0 commit comments

Comments
 (0)