From: Doug B. <dou...@gm...> - 2013-10-24 13:03:41
|
Devs, I know that there is a log.warning that if you don't have PyICU installed, localization will be impaired, but I find that sorting with regular ASCII names is wrong without PyICU. For example, in the flat person view, I get the following order: "Blank, Edward" "Blankenship, Laura" "Blank, Frank" That is, it seems that the ", " are effectively ignored. I think that this is because of the grampslocale sort_key, Python 2.7, and no PyICU. The error goes away if PyICU is installed. So, one of two things: 1) we should change the warning so that it is more dire (eg, "Sorting operations will be incorrect") or 2) there is a bug in the sort_key function when no PyICU I don't know enough about the locale to see if it is a bug that can be fixed. -Doug PS - Yes, I really have a "Frank Blank" in my tree. Frank apparently had a cruel father, or perhaps Hank was just getting back at his father. |