From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <939ccc98024339cb7c2c78e50894d9ec@quanstro.net> Date: Sun, 9 Jul 2006 19:46:16 -0500 From: quanstro@quanstro.net To: 9fans@cse.psu.edu Subject: Re: [9fans] quote file name In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 7b981d04-ead1-11e9-9d60-3106f5b1d025 this is wrong. the real answer is this ; diff -c /n/sources/plan9/sys/src/libc/port/needsrcquote.c needsrcquote.c /n/sources/plan9/sys/src/libc/port/needsrcquote.c:6,12 - needsrcquote.c:6,12 { if(c <= ' ') return 1; - if(strchr("`^#*[]=|\\?${}()'<>&;", c)) + if(c < 0x80 && strchr("`^#*[]=|\\?${}()'<>&;", c)) return 1; return 0; } - erik On Sun Jul 9 06:04:31 CDT 2006, quanstro@quanstro.net wrote: > interesting. quick guess is that isalpharune is returning quirky results. that table was generated > against older unicode. i worked up a replacement table from unicode 4.1. i'll try it tonight. > > - erik