> 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).
this patch should not interfere with other locale code. it only creates locale object, which is set to current environment locale and then is this object used as comparator between two strings. still i could rewrite this code using setlocale and strcoll as jmarc proposed (however i dont see the benefit over std::locale). pavel