Re: [PATCH] Fix ICU strength not being honored in collation rules

2025-10-28 Thread Luis Felippe
Daniel Verite wrote: > Yes. There was a previous report recently [1], with a proposed fix [2] > identical to yours. It is great to know this is already being addressed. > The fix may change sort results for collations affected by the problem > (that's the point of the fix!), so even if it's for

[PATCH] Fix ICU strength not being honored in collation rules

2025-10-28 Thread Luis Felippe
Hello, I have run into an issue where specifying the rules argument for "CREATE COLLATION" changes the collation strength to tertiary, even if it is explicitly set in the rules string. I discovered that this is because ucol_openRules is called passing strength UCOL_DEFAULT_STRENGTH, which overw