From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] pipeto.lib spool and encoding From: erik quanstrom Date: Thu, 18 Oct 2007 17:07:41 -0400 In-Reply-To: <20071018201035.5EC931E8C22@holo.morphisms.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: d4275024-ead2-11e9-9d60-3106f5b1d025 >> It works but the encoding is broken after delivery. The "german >> umlauts" are working if I remove pipto. > > in /mail/lib/pipeto.lib, the line > > sed '/^$/,$ s/^From / From /' >$TMP.msg > > needs to be replaced with a c program that does this > conversion without coercing its input text into utf-8. > > russ i submitted a patch. unfortunately, i think the patch is on the wrong track. sed isn't coercing it's input to utf-8. there's no active conversion going on. plan 9 programs assume utf-8 input, since plan 9 uses utf-8. the alternative is to start using multiple character sets. i think a better solution to this is to convert the incoming message to utf-8 first. there are likely more problems similar to this one as plan 9 tools make valid assumptions that upas doesn't honour. - erik