From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 16 Mar 2010 00:35:55 +0300 From: anonymous To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20100315213555.GA32333@machine> References: <20100315210251.GA26934@machine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] hard-coded UTF-8 in wc.c Topicbox-Message-UUID: e96f56cc-ead5-11e9-9d60-3106f5b1d025 On Mon, Mar 15, 2010 at 05:13:40PM -0400, erik quanstrom wrote: > perhaps you have misunderstood. > > inside programs, sometimes unicode text is represented as > runes. runes are not sent over pipes nor stored in files. > > therefore, there is no need to wc runes. Yes, but why wc utility counts runes (wc(1) call them runes) manually using huge table instead of using functions from rune(3) such as utflen?