
3 Jul
2006
3 Jul
'06
7:07 a.m.
On Monday 03 July 2006 00:11, Jeff Garland wrote:
And in what locale should to_upper work? Swedish?
The global locale. You can replace with locale::global if you so desire. Of course, I could add locale parameters to these functions, but that was one way to keep things simpler. Whether it's worth adding the parameter is really a question of how frequently applications manipulate multiple locales at the same time.
Actually, I think having a global locale is an abomination in the first place, but that's for another place and time :) Marc -- Marc Mutz -- marc@klaralvdalens-datakonsult.se, mutz@kde.org Klarälvdalens Datakonsult AB, Platform-independent software solutions