I don't know whether this is the case for icu-small that ships with nodejs. However, the setting can be added to standalone.gypi like this:
'msvs_settings': {
'VCCLCompilerTool': {
'MinimalRebuild': 'false',
'BufferSecurityCheck': 'true',
'EnableFunctionLevelLinking': 'true',
'RuntimeTypeInfo': 'false',
'WarningLevel': '3',
'WarnAsError': 'true',
'Detect64BitPortabilityProblems': 'false',
'conditions': [
['use_clcache_mode=="true"', {
'DebugInformationFormat': '1',
}, {
'DebugInformationFormat': '3',
}],
[ 'msvs_multi_core_compile', {
'AdditionalOptions': ['/MP', '/utf-8'], <------------------- here
}],
['component=="shared_library"', {
'ExceptionHandling': '1', # /EHsc
}, {
'ExceptionHandling': '0',
}],
],
Maybe you want to adjust this in your gyp files.
Hi,
compiling ICU-full for windows requires adding
/utf-8to the msvc compiler switches - as discussed here:refack/GYP3#60
I don't know whether this is the case for icu-small that ships with nodejs. However, the setting can be added to
standalone.gypilike this:Maybe you want to adjust this in your gyp files.