MSVC: source code is in UTF-8
This is important because the test suite uses \Uxxxx for some Unicode
chars.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a5ea3c..adea48b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,7 +73,7 @@
if(WIN32)
set(C_STANDARD 11)
set(C_STANDARD_REQUIRED ON)
- set(CMAKE_C_FLAGS "/Zc:preprocessor /W3 /wd4711 /w14013 ${CMAKE_C_FLAGS}")
+ set(CMAKE_C_FLAGS "/Zc:preprocessor /W3 /wd4711 /w14013 /utf-8 ${CMAKE_C_FLAGS}")
else()
# global C flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wpedantic -std=c11")