Subject: Re: ls(1) support for multibyte chars
To: Thomas Klausner <wiz@NetBSD.org>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-userlevel
Date: 05/31/2007 03:39:13
>>>>> On Tue, 29 May 2007 18:38:22 +0200,
Thomas Klausner <wiz@NetBSD.org> said:
> In a private discussion, SODA Noriyuki provided the attached patch for
> adding multibyte support to ls(1).
>
> Is it ok to commit?
>
> + if (span > MB_CUR_MAX)
> + span = MB_CUR_MAX;
It seems to be better to make the above part commented out by "#if 0".
Because if there are reduandant escape sequences which exceeds 32 bytes,
our current implementation doesn't display the pathname correctly with
above.
--
soda