From 673d5756652f67892f54cd0f1f23d5d54b132f36 Mon Sep 17 00:00:00 2001 From: Harald Nielsen Date: Tue, 26 Sep 2023 09:01:27 +0200 Subject: [PATCH] Set default to utf-8 to fix command line arguments containing none ASCII chars --- build_defs/cpp_opts.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/build_defs/cpp_opts.bzl b/build_defs/cpp_opts.bzl index 5a32371dacf7f..03106df9510c3 100644 --- a/build_defs/cpp_opts.bzl +++ b/build_defs/cpp_opts.bzl @@ -35,6 +35,7 @@ LINK_OPTS = select({ "//build_defs:config_msvc": [ # Suppress linker warnings about files with no symbols defined. "-ignore:4221", + "/utf-8", ], "@platforms//os:macos": [ "-lpthread",