Gregory Shimansky wrote:
Ok I think I've found the cause of problems with these two tests on Linux which I had yesterday. On Gentoo I have russian locale set "ru_RU.KOI8-R" while on all other Linux installations it appears there are various combinations of *.UTF-8 locales (usually "en_US.UTF-8", but I found "en_AU.UTF-8" on oner server).

I experimented a bit with this stuff and found out that these tests work ok when locale is some sort of UTF-8 one, including ru_RU.UTF-8 one.

The result of test run is actually affected by locale set at compilation time, not the one set at the subsequent test runs. When locale at compile time is set to *.UTF-8, then test run is successful on any locale set after it. If locale is set to something simple like "C" (!) or "ru_RU.KOI8-R" at compile time then test run fails no matter what locale is set when tests are running.

I wonder what we should blame here, compiler, VM, classlib or the tests?


/me runs the other way...

(nice work :)

geir

Reply via email to