> Anyway, after r18988 LyX is not so much forgiving about wrong locales. > On Linux, try for example: > > $ env LC_ALL=foo ./src/lyx-qt4 > > and you will get that exception, too.
Ouch. What if we instead of using multiple #ifs catch the exception and decide what kind sorter would be used ? pavel