-
Notifications
You must be signed in to change notification settings - Fork 106
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
Why does ResolveLocale drop Unicode extension keys without values? #223
Comments
Huh, that's interesting. Would fixing this be a matter of adding a simple step as ResolveLocale 8.h.ii.2.b Let supportedExtensionAddition be the concatenation of "-" and key ? If so, that sort of change sounds right to me. (Aside: Wow, there's a lot of variation among implementations for how the locale presents these tags.) |
should be |
Rather than just making this one fix (which, in isolation, would seem good), let's see if we can make this part of a broader change. If that one doesn't seem feasible, we can come back and make this one fix. |
I try to fix a bug in v8 and then my fix broke intl402/Collator/missing-unicode-ext-value-defaults-to-true.js and I reach the same conclusion this looks strange. |
Yes, I think we should fix the spec this way. |
The test case should print this per the current spec:
I don't understand why the resolved locale of the first collator is not set to either
de-u-kn
orde-u-kn-true
. If the current behaviour is not a spec bug, can we add a comment to clarify why Unicode extensions keys without values are removed from the resolved locale?The text was updated successfully, but these errors were encountered: