Comment 2 for bug 909152

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 909152] [NEW] Mojibake in exceptions.

IWATA Hidetaka пишет:
> Public bug reported:
>
> Under the Windows + bzr 2.5
> If we apply i18n to messages used by exceptions, they can't be printed to the console
> correctly.
>
> For example:
> Without i18n
> $ bzr log --author=xxx
> bzr: ERROR: Bad value "xxx" for option "authors".
>
> With i18n
> $ bzr log --author=xxx
> bzr: ERROR: 繧ェ繝励す繝ァ繝ウ "authors" 縺ォ蟇セ縺吶k荳肴ュ」縺ェ蛟、 "xxx"
>
> Is this a problem to be fixed ? Or should we avoid translate messages
> used by exceptions ?

That's because wrong encoding used. It should be fixed in core.