You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use en-US-POSIX I don't get an error. But surely en-US is a valid locale, right?
When I look at the generated data for collation, I see that it has a relatively small number of locale ids in it. It seems like maybe this isn't using the parent locales appropriately. Shouldn't en-US try en and then root?
The text was updated successfully, but these errors were encountered:
I'm encountering a surprising error when trying to create a
Collator
for theen-US
locale.Here's the entire code example:
The final unwrap fails with:
The data was generated like this:
I've created a test repo for this issue at https://github.com/autarch/datagen-issue
If I use
en-US-POSIX
I don't get an error. But surelyen-US
is a valid locale, right?When I look at the generated data for collation, I see that it has a relatively small number of locale ids in it. It seems like maybe this isn't using the parent locales appropriately. Shouldn't
en-US
tryen
and thenroot
?The text was updated successfully, but these errors were encountered: