From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 28 Jul 2006 08:09:57 -0700 From: "Micah Stetson" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] quote file name In-Reply-To: <091279b578f15c44301b9e1e1c3f55f0@quanstro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92D74425-59CB-473D-90A9-CF49BCAC892D@ar.aichi-u.ac.jp> <091279b578f15c44301b9e1e1c3f55f0@quanstro.net> Topicbox-Message-UUID: 92143fa4-ead1-11e9-9d60-3106f5b1d025 > if(r < 0x80 && strchr("`^#*[]=|\\?${}()'<>&;", r)) > return 1; Wouldn't this be clearer as if(utfrune("`^#*[]=|\\?${}()'<>&;", r)) return 1; That's essentially what the r<0x80 (Runesync) does, isn't it? Micah