Description of problem: strcoll("D","d") returns positive value for 501 out of 582 locales How to reproduce: Compile attached program and execute it in following way # ./ctest `locale -a` Expected results: I'm not sure if uppercase letter should be alphabetically smaller that lower case or not, but I think that result must be stable despite of locale. And IMHO capital letter should precede non-capital one, i.e. strcoll ("D","d") must return negative value.
Created attachment 140425 [details] Program that displays results of strcoll with different locales
This is how it must be. Some locales sorts lower case before upper case and some the other way around.