From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] 'euro symbol' special in acme interface? MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 29 Mar 2002 00:23:49 -0500 Topicbox-Message-UUID: 6f2ec7e0-eaca-11e9-9e20-41e7f4b1d025 > Today I tried to update the coffeelist script I mentioned sometime > before, such that the 'field name' 'payable' is replaced by the euro > sign (made using 'compose' e$ ). > However, when I read that substring from acme, so, when reading from the > data file after making the selection with a regexp, I seem to get > the empty string. Making the selection seems to work OK; > using mouse button 3 on the string I use to make the selection > (prefixed with a :) works ok. > Anything obvious that I may have missed? Wow. That's quite the shell script. Try replacing read with sed 1q in your shell definitions. You're in uncharted territory. Read and acme don't get along very well about reading multibyte UTF sequences. Acme currently assumes that it doesn't have to deal with programs that read from data 1 byte at a time, like read does. Russ