Thread: strange order by

strange order by

From
"Jean-Yves F. Barbier"
Date:
Hi list,

My svr & clients are in fr_FR.utf-8.

SELECT note FROM tst1m ORDER BY note DESC;
return me strings beginning with 'Z' or 'z' but also 'ẞ'!

I also wonder why the generated query:
SELECT id,name,note FROM tst1m ORDER BY note DESC LIMIT 400 OFFSET 0;
is mixing rows beginning with 'Z' and 'z' instead of presenting
'Z' before 'z' (same reason?)

Is it the base collation that returns me these strange results
(or what else)?  And I can I recover a normal behavior?

JY
--
Dammit Jim, I'm an actor, not a doctor.