-
Notifications
You must be signed in to change notification settings - Fork 479
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
Test for en-US-posix #2928
Comments
There is a fix related to en-US-posix recently. And I cherrypick that to the latest v8 trunk.
|
I believe are facing two different issue here
|
I am less concerned about (2), since implementers are free to chose which locales they carry data for, and our spec is supposed to handle lack of data for I am much more concerned about (1), as it seems like ICU4C internal logic leaking onto most popular ECMA-402 implementation in a spec-incompatible way. |
ok, if (1) is what you are concerning about, I will look into the reason why is that changed. |
I am not fully understand the whole picture yet, but read this first
|
Notice "POSIX" is not a registered variant you can find in |
I see. So it seems that https://tc39.es/ecma402/#sec-canonicalizeunicodelocaleid calls https://unicode.org/reports/tr35/#Canonical_Unicode_Locale_Identifiers which calls https://unicode.org/reports/tr35/#Legacy_Variants . I'll report back in the Mozilla ticket. |
In the downstream ticket, Anba responded:
|
@FrankYFTang ^ thoughts? |
I agree with what Anba said about the lack of connection between that two sections in the current version of UTS35 and I try to get Mark Davis who author UTS35 to look into this. It could be something he missed and need to add back to UTS35. So could we held the adding that test for now? Notice "POSIX" is not a registered variant you can find in |
Filed WebKit tracking issue in https://bugs.webkit.org/show_bug.cgi?id=221169 |
@FrankYFTang any progress? We got another bug in result of spec-compliant behavior on FreeBSD - https://bugzilla.mozilla.org/show_bug.cgi?id=1690795 |
Somehow the private email exchanged got lost track. File CLDR bug for UTS35 here https://unicode-org.atlassian.net/browse/CLDR-14487 |
double file ICU ticket https://unicode-org.atlassian.net/browse/ICU-21489 |
In https://bugzilla.mozilla.org/show_bug.cgi?id=1685075 we found a potential bug in JSC/V8 behavior around
en-US-posix
canonicalization. @anba believes the bug to be different for JSC and for V8, but the end result is thaten-US-posix
locale, which is present in CLDR data, is always stripped of the variant because JSC/V8 use ICU for canonicalization and that's the behavior ICU uses.@FrankYFTang - what's your take here? What behavior would you like to see for
we should encode a test for the generated consensus :)
The text was updated successfully, but these errors were encountered: