From: Peter L. <pet...@te...> - 2008-11-18 09:27:12
|
[peter@hpd1 aa]$ python SortTest.py List a has the correct sort order ===== Unsorted ===== a b Equal Astad à stad False Bstad Ãstad False Cstad Ãstad False Xstad Xstad True Ystad Ystad True Zstad Zstad True à stad Astad False Ãstad Bstad False Ãstad Cstad False Lists equal: False == List b sorted ====== a b Equal Astad Astad True Bstad Bstad True Cstad Cstad True Xstad Xstad True Ystad Ystad True Zstad Zstad True à stad Ãstad False Ãstad à stad False Ãstad Ãstad True Lists equal: False = = List b sorted with locale = a b Equal Astad Astad True Bstad Bstad True Cstad Cstad True Xstad Xstad True Ystad Ystad True Zstad Zstad True à stad à stad True Ãstad Ãstad True Ãstad Ãstad True Lists equal: True locale= ('sv_SE', 'UTF8') [peter@hpd1 aa]$ |