9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Ethan Grammatikidis <eekee57@fastmail.fm>
To: 9front@9front.org
Subject: Re: [9front] mothra not respecting charset=utf-8
Date: Sun, 16 Feb 2014 11:25:16 +0000	[thread overview]
Message-ID: <1392549916.30058.83991793.135CF34A@webmail.messagingengine.com> (raw)
In-Reply-To: <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;
 }



  reply	other threads:[~2014-02-16 11:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 10:47 Ethan Grammatikidis
2014-02-16 11:25 ` Ethan Grammatikidis [this message]
2014-02-16 14:46   ` [9front] " Nick Owens
2014-02-16 18:38 ` cinap_lenrek
2014-02-18 22:32   ` Ethan Grammatikidis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1392549916.30058.83991793.135CF34A@webmail.messagingengine.com \
    --to=eekee57@fastmail.fm \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).