[tepl] build: Do not try to enable /utf-8 for MSVC



commit b03c16dcaf6481a3bcd9563c66dc024f7c7dd9ed
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Apr 30 17:12:29 2020 +0800

    build: Do not try to enable /utf-8 for MSVC
    
    It turns out that while building on East Asian locales with this flag enabled
    creates binaries that do not work as well as binaries that are built with or
    without this flag when the locale is switched via Control Panel's "Locale for
    non-Unicode Programs" setting to an English locale.
    
    Since the /utf-8 was intended as a convenience to people building on East Asian
    locales, there is no point keeping it anymore, to avoid any misconception.

 meson.build | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/meson.build b/meson.build
index 1a2b9d9..1f8f7ae 100644
--- a/meson.build
+++ b/meson.build
@@ -88,9 +88,6 @@ if c_compiler.get_id() == 'msvc'
   # but do make the ones we want to be wary stand out
   warning_cflags += [
     '-FImsvc_recommended_pragmas.h',
-    '-utf-8', # Available in Visual Studio 2015 or later,
-              # to prevent unicode handling issues in the
-              # compiler
   ]
 else
   warning_cflags += [


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]