{"action":"created","issue":{"url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/4","labels_url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/4/comments","events_url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/4/events","html_url":"https://github.com/tomduck/pandoc-fignos/issues/4","id":90108747,"number":4,"title":"Broken file encodings in utf-8","user":{"login":"dbobak","id":6285546,"avatar_url":"https://avatars.githubusercontent.com/u/6285546?v=3","gravatar_id":"","url":"https://api.github.com/users/dbobak","html_url":"https://github.com/dbobak","followers_url":"https://api.github.com/users/dbobak/followers","following_url":"https://api.github.com/users/dbobak/following{/other_user}","gists_url":"https://api.github.com/users/dbobak/gists{/gist_id}","starred_url":"https://api.github.com/users/dbobak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbobak/subscriptions","organizations_url":"https://api.github.com/users/dbobak/orgs","repos_url":"https://api.github.com/users/dbobak/repos","events_url":"https://api.github.com/users/dbobak/events{/privacy}","received_events_url":"https://api.github.com/users/dbobak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-22T14:10:50Z","updated_at":"2015-06-23T19:05:22Z","closed_at":null,"body":"When using option --filter pandoc-fignos, the encoding of utf-8 file gets broken (the national characters are messed).\r\n\r\nBelow is sample code of source markdown file:\r\n\r\n---\r\ntitle: Tytuł\r\nauthor:  Dariusz Bobak\r\ndate: 2015\r\ncsl: c:\\\\Users\\\\deni\\\\zotero\\\\archeo\\\\styles\\\\harvard-polish-archaeology.csl\r\nbibliography: c:\\\\users\\\\deni\\\\documents\\\\archeo\\\\library.bib\r\n...\r\n\r\n# Początek\r\n\r\nHere you can see problems with polish national characters: zażółć gęślą jaźń\r\nLorem ipsum dolor sit amet, „consectetur adipiscing «elit». Maecenas at nisi ut sem imperdiet” malesuada. Sed sit amet dolor in ligula commodo accumsan nec et justo. Nunc et velit id libero venenatis vehicula. Pellentesque malesuada bibendum fringilla. Nunc pharetra ut metus (@fig:wykres) vitae semper (\\autoref{fig:wykres}). Proin interdum, risus malesuada luctus fermentum, erat arcu tempus tellus, sed dictum quam magna sed quam. Vivamus accumsan id lectus a hendrerit. Etiam nibh turpis, molestie eget dapibus [@bisson_nineteenth_2000] ac, vestibulum nec risus.\r\n\r\n![Wykres klimatyczny, w którym pokazujemy mnóstwo ciekawych rzeczy. Na przykład, jak zmieniał się klimat bardzo dawno temu.](fig/wykres.png) {#fig:wykres}\r\n\r\nDonec elementum dolor [@adams_bukk_2009] urna, in rhoncus sapien eleifend vitae. Donec dignissim lacus at tellus convallis, sit amet consectetur metus tristique. Donec nec odio ultrices, varius dui sit amet, sodales mi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent libero enim, bibendum eu odio imperdiet, finibus pharetra felis. Proin ut blandit est, in accumsan odio. Sed dolor quam, varius non massa vitae, volutpat maximus erat. Etiam lacinia vulputate est a sodales. Aenean nec volutpat leo. Nullam scelerisque turpis eget suscipit varius. Donec mi tortor, sollicitudin sed ligula id, hendrerit imperdiet lectus. Quisque ac tortor quis ligula imperdiet suscipit a sit amet sem. Aliquam erat volutpat.\r\n\r\n## Podrozdział pierwszego poziomu\r\n\r\nSed pretium sit amet magna eu tempor. Ut sagittis est et turpis fringilla, a ultrices ex lacinia. Vestibulum leo est, lacinia at egestas a, dignissim maximus velit. Integer nisl neque, fermentum eget congue ac, pulvinar a mauris. Praesent dolor nisi, semper non tortor eu, lobortis mattis nibh. Maecenas rhoncus lorem vel dapibus semper. Praesent vel dolor non velit aliquam scelerisque. Cras quis tincidunt lorem, ac consectetur sapien. Aliquam euismod justo sed leo fringilla pellentesque. Nunc accumsan ut lorem a aliquet.\r\n\r\n### Podrozdział drugiego poziomu\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/comments/114612310","html_url":"https://github.com/tomduck/pandoc-fignos/issues/4#issuecomment-114612310","issue_url":"https://api.github.com/repos/tomduck/pandoc-fignos/issues/4","id":114612310,"user":{"login":"kenduck","id":4217068,"avatar_url":"https://avatars.githubusercontent.com/u/4217068?v=3","gravatar_id":"","url":"https://api.github.com/users/kenduck","html_url":"https://github.com/kenduck","followers_url":"https://api.github.com/users/kenduck/followers","following_url":"https://api.github.com/users/kenduck/following{/other_user}","gists_url":"https://api.github.com/users/kenduck/gists{/gist_id}","starred_url":"https://api.github.com/users/kenduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenduck/subscriptions","organizations_url":"https://api.github.com/users/kenduck/orgs","repos_url":"https://api.github.com/users/kenduck/repos","events_url":"https://api.github.com/users/kenduck/events{/privacy}","received_events_url":"https://api.github.com/users/kenduck/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T19:05:22Z","updated_at":"2015-06-23T19:05:22Z","body":"For @tomduck : Thanks. Away and will see to on Monday."}}