Mailing List Archive


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

Re: [tlug] localedef builds sjis locale but the result doesn't work



On Thu, Jul 17, 2003 at 07:20:49PM +0900, Norman Diamond wrote:
> But the following commands still displayed mojibake:
> 
>   LANG=ja_JP.SJIS vim sjisfile
>   LANG=ja_JP.sjis vim sjisfile
>   LC_ALL=ja_JP.SJIS vim sjisfile
>   LC_ALL=ja_JP.sjis vim sjisfile
> 

First, there is no guarantee that your version of vim was built in such
a way as to properly support multi-byte characters, or that you have the
proper fonts installed.

I would recommend trying 'cat' or something first to take vim out of the
equation.  Start your shell with LC_CTYPE=ja_JP.SJIS and try doing a
straight 'cat sjisfile'.  Once you get that going, you can give vim a 
shot.  

Michael


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links