{"action":"created","issue":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/512","labels_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/512/comments","events_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/512/events","html_url":"https://github.com/ciudadanointeligente/write-it/issues/512","id":58176658,"number":512,"title":"Latin-2 characters are not displayed correctly","user":{"login":"schlos","id":1014134,"avatar_url":"https://avatars.githubusercontent.com/u/1014134?v=3","gravatar_id":"","url":"https://api.github.com/users/schlos","html_url":"https://github.com/schlos","followers_url":"https://api.github.com/users/schlos/followers","following_url":"https://api.github.com/users/schlos/following{/other_user}","gists_url":"https://api.github.com/users/schlos/gists{/gist_id}","starred_url":"https://api.github.com/users/schlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlos/subscriptions","organizations_url":"https://api.github.com/users/schlos/orgs","repos_url":"https://api.github.com/users/schlos/repos","events_url":"https://api.github.com/users/schlos/events{/privacy}","received_events_url":"https://api.github.com/users/schlos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T07:38:02Z","updated_at":"2015-02-19T14:24:26Z","closed_at":null,"body":"Some Latin-2 characters in [iso-8859-2](http://en.wikipedia.org/wiki/ISO/IEC_8859-2) gets replaced with question mark (?) character.\r\n\r\nWhat WriteIt gets from PopIt via API:\r\n\r\n```\r\n\r\n{\r\n      \"html_url\": \"https://zagreb.popit.mysociety.org/persons/548d637a446a57290ed8540e\",\r\n      \"sources\": [],\r\n      \"images\": [],\r\n      \"initials\": \"\",\r\n      \"url\": \"https://zagreb.popit.mysociety.org/api/v0.1/persons/548d637a446a57290ed8540e\",\r\n      \"id\": \"548d637a446a57290ed8540e\",\r\n      \"start_date\": null,\r\n      \"end_date\": null,\r\n      \"birth_date\": null,\r\n      \"death_date\": null,\r\n      \"founding_date\": null,\r\n      \"dissolution_date\": null,\r\n      \"name\": \"Ratko Maričić\",\r\n      \"memberships\": [\r\n        {\r\n          \"html_url\": \"https://zagreb.popit.mysociety.org/memberships/548d6384446a57290ed85410\",\r\n          \"url\": \"https://zagreb.popit.mysociety.org/api/v0.1/memberships/548d6384446a57290ed85410\",\r\n          \"person_id\": \"548d637a446a57290ed8540e\",\r\n          \"role\": \"Gradski zastupnik\",\r\n          \"organization_id\": \"548d56d4446a57290ed853d1\",\r\n          \"start_date\": \"\",\r\n          \"end_date\": \"\",\r\n          \"area\": {\r\n            \"name\": \"\"\r\n          },\r\n          \"id\": \"548d6384446a57290ed85410\",\r\n          \"links\": [],\r\n          \"contact_details\": []\r\n        }\r\n      ],\r\n      \"links\": [],\r\n      \"contact_details\": [],\r\n      \"identifiers\": [],\r\n      \"other_names\": []\r\n    },\r\n\r\n```\r\n\r\nName in JSON field `\"name\": \"Ratko Maričić\"` will be displayed in WriteIt form as `Ratko Mari?i?`.\r\n\r\nWriteIt instance:\r\nhttp://writeit.ciudadanointeligente.org/en/writeit_instances/zagreb-local-government\r\n"},"comment":{"url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/comments/75059426","html_url":"https://github.com/ciudadanointeligente/write-it/issues/512#issuecomment-75059426","issue_url":"https://api.github.com/repos/ciudadanointeligente/write-it/issues/512","id":75059426,"user":{"login":"lfalvarez","id":585757,"avatar_url":"https://avatars.githubusercontent.com/u/585757?v=3","gravatar_id":"","url":"https://api.github.com/users/lfalvarez","html_url":"https://github.com/lfalvarez","followers_url":"https://api.github.com/users/lfalvarez/followers","following_url":"https://api.github.com/users/lfalvarez/following{/other_user}","gists_url":"https://api.github.com/users/lfalvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/lfalvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfalvarez/subscriptions","organizations_url":"https://api.github.com/users/lfalvarez/orgs","repos_url":"https://api.github.com/users/lfalvarez/repos","events_url":"https://api.github.com/users/lfalvarez/events{/privacy}","received_events_url":"https://api.github.com/users/lfalvarez/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T14:24:26Z","updated_at":"2015-02-19T14:24:26Z","body":"Got it! it is because currently we're using MySql as our database (I know it is the worse choice ever made), and it doesn't use utf8 right out of the box and therefore it stores that sort of data in a wrong way. So my choice of things to do would be to encourage to move to PostgreSQL. In the meantime I'm correcting this problems in the database so I  can close this in favor of a \"Use PostgreSQL issue\""}}