Subject: Re: Hello,I Need Help,NetBSD for Chinese
To: Henry Nelson <netb@yuba.kcn.ne.jp>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 07/11/2005 09:53:46
Henry Nelson wrote:
> 
> I never could get utf-8 to work as a locale.  My main systems are still
> 1.6.x; do I need to update to 2.0 or better?  Under /usr/share/locale
> there is only en_US.UTF-8.  There was no ja_JP.UTF-8.  I tried en_US.UTF-8
> anyway, but nothing seemed to work, so I went back to EUC.

I did this both with 1.6, and with 2.0. There are stil some smaller bugs in 
NetBSD libiconv, but it works well otherwise. I had to go get ja_JP.UTF-8 by 
hand for both versions, and "compile" to LC_CTYPE. I think I pulled it out of 
-current directories.

On V1.6 I had to recompile tcsh, for sure, but fairly sure "ls" already had -w. 
Perhaps it was a 1.6.3 addition or similar.

I think I wrote down some short-notes for myself so I didn't have to go through 
it again (and incidentally, I just received my new desktop today, so I *will* go 
through it today again :) )

> 
> 
> Did you get a new ls, too?  My system says:
>    % ls -w
>    ls: unknown option -- w

      -w      Force raw printing of non-printable characters.  This is the
              default when output is not to a terminal.

As to when it went in, not sure.

http://netbsd.interq.or.jp/~lundman/utf8-guide.txt

Lund

-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)