{"action":"created","issue":{"url":"https://api.github.com/repos/jgraph/drawio/issues/172","repository_url":"https://api.github.com/repos/jgraph/drawio","labels_url":"https://api.github.com/repos/jgraph/drawio/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/jgraph/drawio/issues/172/comments","events_url":"https://api.github.com/repos/jgraph/drawio/issues/172/events","html_url":"https://github.com/jgraph/drawio/issues/172","id":272823903,"number":172,"title":"Import .svg file with utf-8 encoding issue","user":{"login":"carusyte","id":1680881,"avatar_url":"https://avatars2.githubusercontent.com/u/1680881?v=4","gravatar_id":"","url":"https://api.github.com/users/carusyte","html_url":"https://github.com/carusyte","followers_url":"https://api.github.com/users/carusyte/followers","following_url":"https://api.github.com/users/carusyte/following{/other_user}","gists_url":"https://api.github.com/users/carusyte/gists{/gist_id}","starred_url":"https://api.github.com/users/carusyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusyte/subscriptions","organizations_url":"https://api.github.com/users/carusyte/orgs","repos_url":"https://api.github.com/users/carusyte/repos","events_url":"https://api.github.com/users/carusyte/events{/privacy}","received_events_url":"https://api.github.com/users/carusyte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-10T05:31:17Z","updated_at":"2017-11-12T13:29:14Z","closed_at":null,"author_association":"NONE","body":"I imported an utf-8 encoded .svg file but the canvas displays an object with a wrong encoding.\r\n<img width=\"638\" alt=\"screenshot\" src=\"https://user-images.githubusercontent.com/1680881/32644296-96564b0c-c61b-11e7-8391-82f3da0ec5ee.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jgraph/drawio/issues/comments/343737333","html_url":"https://github.com/jgraph/drawio/issues/172#issuecomment-343737333","issue_url":"https://api.github.com/repos/jgraph/drawio/issues/172","id":343737333,"user":{"login":"carusyte","id":1680881,"avatar_url":"https://avatars2.githubusercontent.com/u/1680881?v=4","gravatar_id":"","url":"https://api.github.com/users/carusyte","html_url":"https://github.com/carusyte","followers_url":"https://api.github.com/users/carusyte/followers","following_url":"https://api.github.com/users/carusyte/following{/other_user}","gists_url":"https://api.github.com/users/carusyte/gists{/gist_id}","starred_url":"https://api.github.com/users/carusyte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carusyte/subscriptions","organizations_url":"https://api.github.com/users/carusyte/orgs","repos_url":"https://api.github.com/users/carusyte/repos","events_url":"https://api.github.com/users/carusyte/events{/privacy}","received_events_url":"https://api.github.com/users/carusyte/received_events","type":"User","site_admin":false},"created_at":"2017-11-12T13:29:14Z","updated_at":"2017-11-12T13:29:14Z","author_association":"NONE","body":"Yes, It is reproducible. I've prepared a desensitized version of the SVG file below. You can successfully view it in a functional text editor such as Sublime Text 3:\r\n<img width=\"1198\" alt=\"screen shot 2017-11-12 at 9 26 10 pm\" src=\"https://user-images.githubusercontent.com/1680881/32699412-34981266-c7f0-11e7-9768-524727a56759.png\">\r\n\r\nBut when I imported it into [https://www.draw.io]( https://www.draw.io):\r\n<img width=\"399\" alt=\"screen shot 2017-11-12 at 9 27 52 pm\" src=\"https://user-images.githubusercontent.com/1680881/32699427-6ea9eaa6-c7f0-11e7-9a3a-52ce22d3ea76.png\">\r\n\r\nHere is the svg file:\r\n[for_encoding_demo.svg.zip](https://github.com/jgraph/drawio/files/1464687/for_encoding_demo.svg.zip)\r\n"}}
{"actor":{"display_login":"carusyte"}}