9front - general discussion about 9front
 help / color / mirror / Atom feed
* mothra not respecting charset=utf-8
@ 2014-02-16 10:47 Ethan Grammatikidis
  2014-02-16 11:25 ` [9front] " Ethan Grammatikidis
  2014-02-16 18:38 ` cinap_lenrek
  0 siblings, 2 replies; 5+ messages in thread
From: Ethan Grammatikidis @ 2014-02-16 10:47 UTC (permalink / raw)
  To: 9front

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-18 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-16 10:47 mothra not respecting charset=utf-8 Ethan Grammatikidis
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

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).