> Actually, I do not think that I like it much, in particular since we
> do not use std::locale at other places? 

$ grep -r  std::locale *  |wc -l
55

> Isn't it possible to do the same with setlocale?

I didn't get what you mean. How can I collate two strings using setlocale ?
Or you mean to rewrite it in C, e.g. string->char*, std::locale->setlocale
and some C collate function ?

> Aren't there other places where strings are sorted?

Up to now I havent found locale-sensitive sorting. If you have
any idea, where else in GUI we need to sort things in this way,
I'll investigate.

There seems to be some locale code in docstring.cpp and docstream.cpp,
but dont know whether it could be used. (Georg ?)

Pavel

Reply via email to