#6997 NORM Never A: SimpleHTTPServer doesn't serve charset=utf8
Zarro Boogs per Child
bugtracker at laptop.org
Mon May 12 22:11:44 EDT 2008
#6997: SimpleHTTPServer doesn't serve charset=utf8
------------------------+---------------------------------------------------
Reporter: cjb | Owner: cjb
Type: defect | Status: new
Priority: normal | Milestone: Never Assigned
Component: wikiserver | Version: Update.1
Keywords: | Verified: 0
Blocking: | Blockedby:
------------------------+---------------------------------------------------
.. which stops the index page from rendering properly. :( The following
fixes it:
{{{
self.send_header("Content-type", ctype)
}}}
to
{{{
self.send_header("Content-type", ctype + ";charset=utf8")
}}}
.. but that's not useful, because SimpleHTTPServer.py already exists on
shipped builds without the patch. Options:
* ship a local version of SimpleHTTPServer.py with the patch (6KB)
* find a way to tell Firefox to force UTF8 for all pages visited in the
Wikipedia activity; this should be safe for our pages.
--
Ticket URL: <http://dev.laptop.org/ticket/6997>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list