[build] Set /utf-8 flag for MSVC compiler. Issue:IGNIETFERRO-503.
@@ -1875,7 +1875,7 @@ class MSVCCompiler(MSVC, Compiler):
MSVC_INLINE_FLAG=/Zc:inline-
}''')
- flags = ['/nologo', '/Zm500', '/GR', '/bigobj', '/FC', '/EHs', '/errorReport:prompt', '$MSVC_INLINE_FLAG']
+ flags = ['/nologo', '/Zm500', '/GR', '/bigobj', '/FC', '/EHs', '/errorReport:prompt', '$MSVC_INLINE_FLAG', '/utf-8']
flags += self.tc.arch_opt
c_warnings = ['/we{}'.format(code) for code in warns_as_error]
