[drbd-mc] Japanese messages are garbled in a terminal panel

Rasto Levrinc rasto.levrinc at linbit.com
Tue Feb 8 11:19:12 CET 2011

On Tue, February 8, 2011 4:56 am, Takashi Takizawa wrote:
> Hi,
> I created the patch related to i18n. Please evaluate it.
> When I add the Japanese message resource,
> the Japanese messages are garbled in the terminal panel as follows:
> http://ftp.3ware.co.jp/pub/drbd-mc/terminalpanel-garbled.png
> I created the following patch to resolve this issue.
> http://ftp.3ware.co.jp/pub/drbd-mc/drbd-mc-0.8.12-terminalpanel.patch

Thanks, applied. I think this concerns only the replies from the ssh

> I think that this patch does not affect messages from a remote host
> because the drbd-gui-helper script sets the locale on a remote host to C.
> Is it right?

Well, drbd-gui-helper set locale to C for whatever happens in this script.
Other commands defined in configs/DistResource... files use whatever is
set on the servers. That can cause problems sometimes, if there is some
parsing involved, although till now nobody reported something like that. I
think I set it for every such command to never run into a problem.


: Dipl-Ing Rastislav Levrinc
: DRBD MC http://oss.linbit.com/drbd-mc/
: DRBD MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.

More information about the drbd-mc mailing list