Pavel Sanda wrote: > 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 ?)
That code has nothing to do with sorting. Parts of it are workarounds for older compilers, the rest is needed for automatic encoding conversion of the unicode file streams. Whatever you do to solve your bug, please make sure that you don't set any new locale (at least not permanently, temporarily is OK). Georg