From 0797cc706a67a777c895476ab3baa96d198208e0 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Fri, 15 Nov 2019 22:54:32 +0800 Subject: [PATCH] tools: fix build at non-English windows PR-URL: https://github.com/nodejs/node/pull/30492 Fixes: https://github.com/nodejs/node/issues/25885 Reviewed-By: Anna Henningsen Reviewed-By: Daniel Bevenius --- tools/v8_gypfiles/v8.gyp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index a506a67dba6d42..70448202e32cb1 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -99,6 +99,13 @@ ], }, 'includes': ['toolchain.gypi', 'features.gypi'], + 'target_defaults': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': ['/utf-8'] + } + }, + }, 'targets': [ { 'target_name': 'run_torque',