From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28086 invoked from network); 24 Sep 2002 17:41:44 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 24 Sep 2002 17:41:44 -0000 Received: (qmail 1156 invoked by alias); 24 Sep 2002 17:41:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17726 Received: (qmail 1140 invoked from network); 24 Sep 2002 17:41:35 -0000 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: UTF-8 fonts In-reply-to: "Clint Adams"'s message of "Tue, 24 Sep 2002 12:03:39 EDT." <20020924160339.GA3139@dman.com> Date: Tue, 24 Sep 2002 18:41:06 +0100 Message-ID: <3874.1032889266@csr.com> From: Peter Stephenson Clint Adams wrote: > The mb*/wc* functions should be much more useful. Looks like a bare minimum implementation could be done with mbtowc() and wcwidth(), to get zle output fixed up. mbtowc() returns a length (as does mblen()) so if we rely on these two working as per standard we should be OK. In that case we can avoid counting character lengths ourself, which is more portable. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************