Mailing List Archive


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

Re: [tlug] help w/japanese



On Fri, May 17, 2002 at 02:14:10PM +0900, Stephen J. Turnbull wrote:
> >>>>> "Jack" == Jack Morgan <yojack@example.com> writes:
> 
>     Jack> I'm having trouble getting japanese to display in an
>     Jack> xterm/mlterm.
> 
> xterm don't do Japanese.  It will do UTF-8, which may be good enough.
> See below.  mlterm I don't know about.

Kterm is best then for japanese?
i tried UTF-8 in xterm but still mojibake
  (eg export LANG=ja_JP.utf8; mutt)
 
>     Jack> If I try export LANG=ja_JP mutt, I get mojibake menu's.
> 
> Have you tried ja_JP.eucJP and/or ja_JP.utf8?

Tried these but, no improvement

>     Jack> I suspect it's a font issue bacuse even doing ls -al in
>     Jack> mlterm displays "05-17" for month/day and not the kanji
>     Jack> equivalent.
> 
> Erh, if you think you need an explicit LANG for mutt, I would presume
> that means that mlterm was not executed with LANG set?  What does echo
> $LANG tell you in a fresh mlterm?

Mlterm echos nothing, but the above ja_JP.eucJP and ja_JP.utf8 did fix the
month/day to May 17 instead of 05-17. 

>     Jack> I know I have fonts:
> 
>     Jack> # xlsfonts |grep jisx
> 
>     Jack> gives me the same output as Mike Fabian's page:
> 
> For xterm, you also need a sane set of iso10646 fonts.  I think the
> adobe and b&h fonts are irrelevant.  I'm not sure which of the
> following do Japanese, probably unifont and fixed-*-ja.
> 
> $ xlsfonts | fgrep iso10646
> -gnu-unifont-medium-r-normal--0-0-75-75-c-0-iso10646-1
> -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
> -misc-fixed-bold-r-normal--0-0-100-100-c-0-iso10646-1
> -misc-fixed-bold-r-semicondensed--0-0-75-75-c-0-iso10646-1
> -misc-fixed-medium-o-normal--0-0-75-75-c-0-iso10646-1
> -misc-fixed-medium-o-semicondensed--0-0-75-75-c-0-iso10646-1
> -misc-fixed-medium-r-normal--0-0-100-100-c-0-iso10646-1
> -misc-fixed-medium-r-normal-ja-0-0-100-100-c-0-iso10646-1
> -misc-fixed-medium-r-normal-ko-0-0-100-100-c-0-iso10646-1
> -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso10646-1
> -mutt-clearlyu alternate glyphs-medium-r-normal--0-0-100-100-p-0-iso10646-1
> -mutt-clearlyu pua-medium-r-normal--0-0-100-100-p-0-iso10646-1
> -mutt-clearlyu-medium-r-normal--0-0-100-100-p-0-iso10646-1
 
I have these except unifont.

Another thought, in Debian, there is a package called locales, which just
automates setting up LANG and friends, right? It doesn't provide some other
functionality, does it? 

The reason I ask is beacuse in Gentoo Linux, which I'm using, there isn't
something like this. Something to set up different locales for languages. 
I've just choosen to compile nls, slang, etc, support to any application 
that supports it, like Mutt. So, I'm wondering if am I missing something
which is needed to display Japanese?


-- 
jack_morgan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links