We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, compiling ICU-full for windows requires adding /utf-8 to the msvc compiler switches - as discussed here: refack/GYP3#60
/utf-8
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:
standalone.gypi
'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.
The text was updated successfully, but these errors were encountered:
@nodejs/platform-windows
Sorry, something went wrong.
Should have been fixed in #30492
Believe this is fixed now
No branches or pull requests
Hi,
compiling ICU-full for windows requires adding
/utf-8
to 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.gypi
like this:Maybe you want to adjust this in your gyp files.
The text was updated successfully, but these errors were encountered: