x/text/collate: ignores case and diacritics by default #67296
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.22.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/hkm5UYyP1Sx
What did you see happen?
Output is
-1 -1 -1 1
. It seems the optionscollate.IgnoreCase
andcollate.IgnoreDiactrics
are set by default with no way for the user to unset them.What did you expect to see?
1 -1 1 -1
or at least a different value for the first two.The text was updated successfully, but these errors were encountered: