Improve UTF-8 handling on Windows

This commit is contained in:
Victor Zverovich committed 2019-12-22 12:05:28 -08:00
1 parent 3ca9533f38
commit dac9a7f99d
2 files changed
+25 -9

No files matched your search

+7
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.