{"action":"created","issue":{"url":"https://api.github.com/repos/gramps-project/gramps/issues/202","repository_url":"https://api.github.com/repos/gramps-project/gramps","labels_url":"https://api.github.com/repos/gramps-project/gramps/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/gramps-project/gramps/issues/202/comments","events_url":"https://api.github.com/repos/gramps-project/gramps/issues/202/events","html_url":"https://github.com/gramps-project/gramps/pull/202","id":165948519,"number":202,"title":"Bug9552 Export to '.wft' file crashes if Unicode characters are present on Windows","user":{"login":"prculley","id":18122203,"avatar_url":"https://avatars.githubusercontent.com/u/18122203?v=3","gravatar_id":"","url":"https://api.github.com/users/prculley","html_url":"https://github.com/prculley","followers_url":"https://api.github.com/users/prculley/followers","following_url":"https://api.github.com/users/prculley/following{/other_user}","gists_url":"https://api.github.com/users/prculley/gists{/gist_id}","starred_url":"https://api.github.com/users/prculley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prculley/subscriptions","organizations_url":"https://api.github.com/users/prculley/orgs","repos_url":"https://api.github.com/users/prculley/repos","events_url":"https://api.github.com/users/prculley/events{/privacy}","received_events_url":"https://api.github.com/users/prculley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-16T21:31:55Z","updated_at":"2016-07-16T21:42:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gramps-project/gramps/pulls/202","html_url":"https://github.com/gramps-project/gramps/pull/202","diff_url":"https://github.com/gramps-project/gramps/pull/202.diff","patch_url":"https://github.com/gramps-project/gramps/pull/202.patch"},"body":"The exportftree.py module, like other modules, opens the file output for text write, leaving everything else at default. So on my Windows, it ends up in cp1252, which does not support all Unicode characters.\r\n\r\nAfter some research I found  [http://freecode.com/projects/familytree_cgi/](url) which is a barely maintained bit of software by Ferenc Bodon and Simon Ward.  It currently supports input via Gedcom, excel, and csv files.\r\n\r\nReason I had a hard time finding it is that it does not use '.wft' files.\r\n\r\nOur exporter puts out a '.wft' file that is in fact a csv with (some of) the fields that their importer can read. A user would have to rename the wft file to csv or txt to actually use it.\r\n\r\nIt appears that at some point the authors decided that the csv import was unwieldy, they now prefer excel, or their own '.ser' format for the working format and have converters for the others to that for use.\r\n\r\nTheir csv import code is still there in the ExtendedSimonWardFormat.pm module; it appears that at some point they decided to convert to utf-8 for their default.\r\n\r\nSo if we continue to want to support this, we should put out utf-8 by default as well.\r\n"},"comment":{"url":"https://api.github.com/repos/gramps-project/gramps/issues/comments/233152527","html_url":"https://github.com/gramps-project/gramps/pull/202#issuecomment-233152527","issue_url":"https://api.github.com/repos/gramps-project/gramps/issues/202","id":233152527,"user":{"login":"dsblank","id":168568,"avatar_url":"https://avatars.githubusercontent.com/u/168568?v=3","gravatar_id":"","url":"https://api.github.com/users/dsblank","html_url":"https://github.com/dsblank","followers_url":"https://api.github.com/users/dsblank/followers","following_url":"https://api.github.com/users/dsblank/following{/other_user}","gists_url":"https://api.github.com/users/dsblank/gists{/gist_id}","starred_url":"https://api.github.com/users/dsblank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsblank/subscriptions","organizations_url":"https://api.github.com/users/dsblank/orgs","repos_url":"https://api.github.com/users/dsblank/repos","events_url":"https://api.github.com/users/dsblank/events{/privacy}","received_events_url":"https://api.github.com/users/dsblank/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T21:42:48Z","updated_at":"2016-07-16T21:42:48Z","body":"Sounds reasonable; looks good. Thanks!"}}
{"actor":{"display_login":"dsblank"}}