{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/116","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/116/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/116/events","html_url":"https://github.com/sphinx-doc/testing2/issues/116","id":53252663,"number":116,"title":"Allow configurable output encoding","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/html","name":"html","color":"FFFFFF"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/proposal","name":"proposal","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sphinx-doc/testing2/milestones/2","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/milestones/2/labels","id":919560,"number":2,"title":"1.x","description":null,"creator":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2015-01-02T11:47:53Z","updated_at":"2015-01-02T13:30:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-01-02T13:30:48Z","updated_at":"2015-01-02T13:30:51Z","closed_at":"2015-01-02T13:30:49Z","body":"Hi,\nI'd like to be able to configure the output encoding of the generated HTML files. Right now for this is hardcoded in the HTML builder to 'utf-8'.\n\nA setting for each builder, which output encoding it should use would be nice, for example in conv.py:\n\n    \n    #!python\n    output_encoding = {\n        \"html\": \"iso-8859-1\",\n        \"htmlhelp\": \"utf-8\",\n        #...\n    }\n    \n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/116\n- Originally reported by: Anonymous\n- Originally created at: 2009-03-05T13:53:04.562\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/comments/68526580","html_url":"https://github.com/sphinx-doc/testing2/issues/116#issuecomment-68526580","issue_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/116","id":68526580,"user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T13:30:51Z","updated_at":"2015-01-02T13:30:51Z","body":"_From Anonymous on 2009-03-10 09:36:27+00:00_\n\nI am deploying the generated pages on a HTTP server that sends the following, seemingly hardcoded HTTP header:\r\n\"Content-Type: text/html; charset=ISO-8859-1\"\r\n\r\nThis takes precendence over any charset specification in the HTML file itself, at least on my browser (Firefox 3).\r\nSo without admin permissions on the server, I am forced to generate files with output encoding iso-8859-1.\r\n"}}