From 13eb0a574f22bb40e8ed0ea4be70be44eb266938 Mon Sep 17 00:00:00 2001 From: Daniel Coonce Date: Sat, 30 Jan 2021 21:35:57 -0600 Subject: Use Boost library to read argv as UTF-8 in Windows Windows uses UTF-16 for command line arguments, so use boost::nowide to convert to UTF-8. Fixes #1986 --- src/system.hh.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src/system.hh.in') diff --git a/src/system.hh.in b/src/system.hh.in index 97b2bead..0cfcf9ed 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -71,6 +71,7 @@ #define HAVE_GPGME @HAVE_GPGME@ #define HAVE_BOOST_REGEX_UNICODE @HAVE_BOOST_REGEX_UNICODE@ #define HAVE_BOOST_159_ISSUE_39 @HAVE_BOOST_159_ISSUE_39@ +#define HAVE_BOOST_NOWIDE @HAVE_BOOST_NOWIDE@ #define DEBUG_MODE @DEBUG_MODE@ #define NO_ASSERTS @NO_ASSERTS@ -- cgit v1.2.3