[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Nice multilingual environment with Debian menu



Hi,

On Fri, Dec 12, 2003 at 02:21:25PM -0500, Joe Drew wrote:
> On Fri, 2003-12-12 at 12:43, Osamu Aoki wrote:
> >   * UTF-8 console with English locale
> >   * UTF-8 console with Japanese locale
> 
> Why are these different? 

Try "man man", "ls -l" or "date", you get different answers.

locale is not just encoding but sort order, message, time stamp style, 
... and more.

> It isn't really laid out in the document linked

I do not understand what you mean.

> does this mean different input methods?

Yes.

Actually, uxterm under ja_JP.UTF-8 brings out xim(kinput2 for me) but
not in en_US.UTF-8.  I guess in en_US.UTF-8, compose key is active to
make accented characters (not tested).

Since I start console programs in the customized locale, this change of
the console program behavior can be enjoyed.  If I were still using
hacks in my shell start up script[*1], I would not have enjoyed this in
uxterm.

Anyway, my point in posting this also in -devel was that Debian menu is
very useful tool if you know how to use it. 

Osamu

[*1] I used to detect console in ~/.bashrc by:
TERMPPID=$(ps --no-header -p $PPID |awk  '{ print $4 }')
TERMUXTERM=$(ps --no-header -Cp  $PPID | awk  '{ print $7 }')



Reply to: