From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by ttr; Sun Feb 16 06:25:20 EST 2014 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 15D6A21D9B for <9front@9front.org>; Sun, 16 Feb 2014 06:25:17 -0500 (EST) Received: from web5 ([10.202.2.215]) by compute4.internal (MEProxy); Sun, 16 Feb 2014 06:25:17 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:date:in-reply-to:references; s=mesmtp; bh= JeMGEJEV3usJq7UGNoLqE3023gI=; b=ZUJa+HmJWTFYpzD6kQURbey9sUlHEkhX MZzVIBeL3tjOfg7bhcnhyLT264/gi01W5sv/uwnvsZQdb7HT72ZQDJAOzfxWmrqh TNmOHAOGVf6puG3p7i5INMwRiqvF7VM2d4pQNu/DIE4TXky6EOAeFY/ICetjQmPr RO0S8WNCx4c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=JeMGEJEV3usJq7UGNoLqE3023gI=; b=oTWmq 466cfucCBx/mh2hEgXr82bv8LAp0EuQm9fWyvGqD5G2HF74bbjgElXwqt5pDGrRi EWXwUHuCzL+RXyYGl/ZYD7a4SLdz10NZDBl+1Digz/BvyxeOm8yWvebqTQvi4VOG rCuVirOs4KuAxVbT6OjDGFOxlAi0DfnJ+tdJYw= Received: by web5.nyi.mail.srv.osa (Postfix, from userid 99) id E8A84B005B3; Sun, 16 Feb 2014 06:25:16 -0500 (EST) Message-Id: <1392549916.30058.83991793.135CF34A@webmail.messagingengine.com> List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: hardware wrapper X-Sasl-Enc: sYTX1d3TElysmLS4gPbVyPjqz/8k3x5/cYO4MLo8QEvB 1392549916 From: Ethan Grammatikidis To: 9front@9front.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-e72899be Subject: Re: [9front] mothra not respecting charset=utf-8 Date: Sun, 16 Feb 2014 11:25:16 +0000 In-Reply-To: <1392547636.22281.83982753.3496171A@webmail.messagingengine.com> References: <1392547636.22281.83982753.3496171A@webmail.messagingengine.com> mischief reports (and i've confirmed) the following patch works. i'm almost scared to ask why. diff -r 709e18f21cad sys/src/cmd/mothra/rdhtml.c --- a/sys/src/cmd/mothra/rdhtml.c Sat Feb 15 17:18:58 2014 -0500 +++ b/sys/src/cmd/mothra/rdhtml.c Sat Feb 15 03:13:05 2014 -0800 @@ -166,7 +166,7 @@ g->hbufp=g->hbuf; g->ehbuf=g->hbuf+n; } - c=*g->hbufp++&255; + c=*g->hbufp++; if(c=='\n') g->lineno++; return c; }