Comment 4 for bug 969468

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 969468] Re: tests should use C locale

Am 31/03/12 15:00, schrieb Alexander Belchenko:
> Jelmer Vernooij пишет:
>>> Jelmer Vernooij пишет:
>>>> We should probably force the locale to be C during the tests.
>>> In QBzr and bzr-explorer we explicitly disable i18n during tests. You
>>> don't have to force C locale, just disable i18n.
>> Uhm, isn't that the same thing, at least where translations are concerned?
> I think it's different things. Forcing C locale will affect how
> unicode tests behave in bzrlib, but disabling i18n just forces English
> messages, but does not affect unicode.
I agree, we shouldn't override the terminal encoding.

However, the locale does matter for more than just translations. For
example, it determines how dates are formatted.

Cheers,

Jelmer