{"action":"created","issue":{"url":"https://api.github.com/repos/BOINC/boinc-ng/issues/57","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/57/comments","events_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/57/events","html_url":"https://github.com/BOINC/boinc-ng/issues/57","id":56431544,"number":57,"title":"Code for boincstats pages","user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/C:%20Web%20-%20Project","name":"C: Web - Project","color":"0000aa"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/P:%20Major","name":"P: Major","color":"f6f6f6"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/R:%20fixed","name":"R: fixed","color":"55ff55"},{"url":"https://api.github.com/repos/BOINC/boinc-ng/labels/T:%20Defect","name":"T: Defect","color":"cccccc"}],"state":"closed","locked":false,"assignee":{"login":"davidpanderson","id":985729,"avatar_url":"https://avatars.githubusercontent.com/u/985729?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpanderson","html_url":"https://github.com/davidpanderson","followers_url":"https://api.github.com/users/davidpanderson/followers","following_url":"https://api.github.com/users/davidpanderson/following{/other_user}","gists_url":"https://api.github.com/users/davidpanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpanderson/subscriptions","organizations_url":"https://api.github.com/users/davidpanderson/orgs","repos_url":"https://api.github.com/users/davidpanderson/repos","events_url":"https://api.github.com/users/davidpanderson/events{/privacy}","received_events_url":"https://api.github.com/users/davidpanderson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/1","labels_url":"https://api.github.com/repos/BOINC/boinc-ng/milestones/1/labels","id":964207,"number":1,"title":"5.10","description":"Manager:\r\n * Project selection list in Attach Project wizard\r\n * Advanced preferences dialog\r\n * Grid-based views: column sorting, progress bars, line shading\r\n * Ability to find browser cookies on some platforms; enables web-only attach.\r\n * Don't allow multiple connection-request dialogs\r\n\r\nCore client:\r\n * Improved slot directory logic makes it impossible for two apps to run in same slot \r\n * Reject directory-traversal and format conversion characters in filenames from projects \r\n * Add security-related configuration options: suppress_net_info, disallow_attach, os_random_only. \r\n * Support new work_buf_additional_days preference \r\n * Various changes to prevent buffer overruns. \r\n * Day-of-week preference enforcement \r\n * Work correctly if core client starts up before DNS system is working \r\n * Export scheduling info in GUI RPCs \r\n\r\nWindows:\r\n * Work around Vista problems by running all components with administrative rights\r\n * Introduce 64-bit Windows client as an official build\r\n\r\nMac:\r\n * Correctly report RAM > 2 GB\r\n * If screensaver launched BOINC, don't stop running when energy saver puts display to sleep\r\n * Improved user idle detection\r\n * More robust installer\r\n\r\nLibrary upgrades:\r\n * OpenSSL 0.9.8g \r\n * LibcURL 7.18.0\r\n * wxWidgets 2.8.3 \r\n","creator":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":81,"state":"closed","created_at":"2015-02-03T19:47:14Z","updated_at":"2015-02-04T00:52:06Z","due_on":"1970-01-01T00:00:00Z","closed_at":"2015-02-03T19:47:14Z"},"comments":4,"created_at":"2015-02-03T20:23:18Z","updated_at":"2015-02-04T07:11:37Z","closed_at":"2015-02-03T20:23:28Z","body":"**Reported by mo v on 25 Nov 37297440 02:13 UTC**\nOn cpdn we have a team trying unsuccessfully to make its name, Universitt der Bundeswehr Mnchen, display properly on its Boincstats page: \r\n\r\nhttp://www.boincstats.com/stats/team_graph.php?pr=cpdn&id=5624 \r\n\r\nthough on cpdn it displays correctly: \r\n\r\nhttp://climateapps2.oucs.ox.ac.uk/cpdnboinc/team_display.php?teamid=5624 \r\n\r\nCpdn member Richard Rodway says \r\n\r\n'''''''It's definitely UTF-8 that's appearing on the boincstats pages and it looks like the correct (2 byte) UTF-8 sequences are being used. Unfortunately the page is being served as an ISO8859-1 page and as a result the 2 byte sequence is not being interpreted as one character, but as two. This apparently is being done by the server since it's specifically encoding these bytes to appear correctly as 8859-1 characters, so changing the page encoding in the browser will not work! (It's using html entities to render the characters) \r\n\r\n'''''''I notice that the climateprediction page for that team is also a 8859-1 encoded page, but in this case the correct code values are being used. '' is encoded as the single byte 0xE4 in 8859-1 and this is being used on the cpdn pages. \r\n\r\n'''''''I don't know how the team name is getting propagated to the boincstats servers, but something in the way has translated that to UTF-8. The encoding for '' in UTF-8 is the 2 byte sequence 0xC3 0xA4. However if you read that as 8859-1 then instead of translating that sequence into the one character U+00E4 () it gets viewed as the 2 8859-1 characters 0xC3 and 0xA4. 0xC3 is a , 0xA4 is a  . The server is reading the UTF-8 sequence, and probably then storing it unchanged in the database. Then whenever a page is generated, it's reading that data from the database and assuming that it is ISO8859-1 \r\n\r\n'''''''To fix the problem you need to make sure that whatever is sending the team names to boincstats is doing so in an encoding that boincstats understands. There's nothing at all wrong with UTF-8, and my preferred solution is for boincstats to use UTF-8 in its webpages and database (or at least some variant of Unicode in the database). Not only would this fix this problem, it'd also allow teams (and names) to use any character. Such as Japanese or Korean characters... Which is quite impossible in 8859-1, there's only 256 characters in that characterset, as opposed to about 1.1 million in Unicode... (although I think only about 150,000 are currently in use).'''''''\r\n\r\n\r\nThe cpdn discussion is here - one sees that none of the usual solutions work: \r\n\r\nhttp://climateapps2.oucs.ox.ac.uk/cpdnboinc/forum_thread.php?id=5409 \r\n\r\nThis problem must affect teams from all projects. Any hope of a solution? \r\n\r\n\r\nRichard Rodway and Mo Vilar\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BOINC/boinc-ng/issues/comments/72801435","html_url":"https://github.com/BOINC/boinc-ng/issues/57#issuecomment-72801435","issue_url":"https://api.github.com/repos/BOINC/boinc-ng/issues/57","id":72801435,"user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T07:11:37Z","updated_at":"2015-02-04T07:11:37Z","body":"**Commented by davea on 4 Oct 37354726 06:13 UTC**\nThis is not relevant to BOINC"}}