Improve UTF-8 handling on Windows

This commit is contained in:
Victor Zverovich
2019-12-22 08:58:00 -08:00
parent 3ca9533f38
commit dac9a7f99d
2 changed files with 25 additions and 9 deletions

View File

@@ -208,6 +208,13 @@
# define FMT_USE_EXPERIMENTAL_STRING_VIEW
#endif
#ifndef FMT_UNICODE
# define FMT_UNICODE 0
#endif
#if FMT_UNICODE
# pragma execution_character_set("utf-8")
#endif
FMT_BEGIN_NAMESPACE
// Implementations of enable_if_t and other metafunctions for pre-C++14 systems.