Skip to content
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

'a' coll 'A" not Same but More with disabled tertiary and primary levels #6568

Closed
p6rt opened this issue Oct 3, 2017 · 4 comments
Closed

Comments

@p6rt
Copy link

p6rt commented Oct 3, 2017

Migrated from rt.perl.org#132216 (status was 'resolved')

Searchable as RT132216$

@p6rt
Copy link
Author

p6rt commented Oct 3, 2017

From @lizmat

<lizmat> m​: use experimental :collation; $*COLLATION.set(​:!tertiary); dd "a" coll "A" # samcv​: is that correct ?
<camelia> rakudo-moar 98fae3​: OUTPUT​: «Order​::More␤»
<samcv> ah. quaternary needs to be disabled
<samcv> that breaks ties by codepoint
<samcv> m​: use experimental :collation; $*COLLATION.set(​:!tertiary, :!quaternary); dd "a" coll "A"
<camelia> rakudo-moar 98fae3​: OUTPUT​: «Order​::More␤»
<samcv> m​: use experimental :collation; $*COLLATION.set(​:!tertiary, :!quaternary); say $*COLLATION
<camelia> rakudo-moar 98fae3​: OUTPUT​: «collation-level => 5, Country => International, Language => None, primary => 1, secondary => 1, tertiary => 0, quaternary => 0␤»
<samcv> 5
<lizmat> but More should be Same, right?
<samcv> yeah 5 is right. but More should be same when quaternary is removed
<samcv> looks like a bug. will look at it in about an hour when i get back
<lizmat> shall I rakudobug it ?
<samcv> yeah
<lizmat> oki

@p6rt
Copy link
Author

p6rt commented Oct 6, 2017

From @samcv

This is fixed by commit MoarVM/MoarVM@e9d331d4

Will leave this open until tests have been added.

@p6rt
Copy link
Author

p6rt commented Oct 11, 2017

From @zoffixznet

Tests​: Raku/roast@5091bdd995

@p6rt
Copy link
Author

p6rt commented Oct 11, 2017

@zoffixznet - Status changed from 'new' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant