9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Ethan Grammatikidis <eekee57@fastmail.fm>
To: 9front@9front.org
Subject: mothra not respecting charset=utf-8
Date: Sun, 16 Feb 2014 10:47:16 +0000	[thread overview]
Message-ID: <1392547636.22281.83982753.3496171A@webmail.messagingengine.com> (raw)

i just ran into a little problem because http's default encoding is
iso-8859-1. i modified rc-httpd to correct it like this:

type = `{echo $full_path | awk -f $libdir/quickfile.awk}
if(~ $"type text/plain) {
	type = 'text/plain; charset=utf-8'
}

in firefox this worked fine, but mothra still loads the file as if it
were iso-8859-1. here's the file; the problem characters are the degree
signs near the end of several lines:

http://ethan.uk.to/static/awk-stew/sensors_compact


             reply	other threads:[~2014-02-16 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-16 10:47 Ethan Grammatikidis [this message]
2014-02-16 11:25 ` [9front] " Ethan Grammatikidis
2014-02-16 14:46   ` 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=1392547636.22281.83982753.3496171A@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).