-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
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
src: default --icu_case_mapping on as a v8 option #9454
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a style nit
@@ -4191,6 +4191,14 @@ void Init(int* argc, | |||
DispatchDebugMessagesAsyncCallback)); | |||
uv_unref(reinterpret_cast<uv_handle_t*>(&dispatch_debug_messages_async)); | |||
|
|||
#if defined(NODE_HAVE_I18N_SUPPORT) | |||
// set the ICU casing flag early |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you capitalize the comment?
@evanlucas also said
|
I don't know why the linter is failing in the automated build. Can't reproduce… any ideas @nodejs/build ?
update seems to be working now. |
* toLocaleUpperCase() and toLocaleLowerCase() do not function properly without this flag. * basic test case. The test case would fail if `--no_icu_case_mapping` was set. Fixes: nodejs#9445 PR-URL: nodejs#9454 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
a5c90e8
to
0d71729
Compare
Could for sure, but we don't do that for other flags. |
Landed in 1a55e9a |
landed this on v6.x and got the error "Error: unrecognized flag --icu_case_mapping" not landing for now. LMK if we should consider it |
@MylesBorins no, incompatible with older v8. And new v8 :) |
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passesAffected core subsystem(s)
src
Description of change
without this flag.
--no_icu_case_mapping
was set.
Fixes: #9445