<commit_before>diff --git a/icu.gyp b/icu.gyp
index 374f6293..6e1f1de1 100644
--- icu.gyp
+++ icu.gyp
@@ -41,6 +41,13 @@
         'defines': [
           'UCHAR_TYPE=wchar_t',
         ],
+        'msvs_settings': {
+          'VCCLCompilerTool': {
+            'AdditionalOptions': [
+              '/utf-8',
+            ],
+          },
+        },
 	'cflags': [ '/utf-8' ],
       },{
         'defines': [<commit_msg>icu.patch: linking with libc++ in windows debug build<commit_after>diff --git a/icu.gyp b/icu.gyp
index bc88d8b7..92ad8641 100644
--- icu.gyp
+++ icu.gyp
@@ -43,12 +43,22 @@
         'defines': [
           'UCHAR_TYPE=wchar_t',
         ],
+        'msvs_settings': {
+          'VCCLCompilerTool': {
+            'AdditionalOptions': [
+              '/utf-8',
+            ],
+          },
+        },
 	'cflags': [ '/utf-8' ],
       },{
         'defines': [
           'UCHAR_TYPE=uint16_t',
         ],
       }],
+      ['OS=="win" and component == "shared_library"', {
+        'libraries': ['<(PRODUCT_DIR)/../nw/libc++.dll.lib'],
+      }],
       ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
          or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
         (target_arch=="arm" or target_arch=="ia32" or \
{'fraction_non_alphanumeric': 0.20921155347384857, 'fraction_numerical': 0.04371584699453552, 'mean_word_length': 1.6989473684210525, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7114257', 'n_tokens_mistral': 530, 'n_tokens_neox': 486, 'n_words': 74}