{"action":"created","issue":{"url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/6","labels_url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/6/comments","events_url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/6/events","html_url":"https://github.com/thlorenz/inline-source-map/issues/6","id":34339713,"number":6,"title":"Chinese characters","user":{"login":"lmm0591","id":5318301,"avatar_url":"https://avatars.githubusercontent.com/u/5318301?v=3","gravatar_id":"","url":"https://api.github.com/users/lmm0591","html_url":"https://github.com/lmm0591","followers_url":"https://api.github.com/users/lmm0591/followers","following_url":"https://api.github.com/users/lmm0591/following{/other_user}","gists_url":"https://api.github.com/users/lmm0591/gists{/gist_id}","starred_url":"https://api.github.com/users/lmm0591/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmm0591/subscriptions","organizations_url":"https://api.github.com/users/lmm0591/orgs","repos_url":"https://api.github.com/users/lmm0591/repos","events_url":"https://api.github.com/users/lmm0591/events{/privacy}","received_events_url":"https://api.github.com/users/lmm0591/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-27T03:28:55Z","updated_at":"2015-05-12T16:23:07Z","closed_at":null,"body":"messy code with Chinese characters in source maps\r\nlike this:\r\n\r\n        var generator = require('inline-source-map');\r\n        var foo = '' + function foo () {\r\n            var hello = '中文';\r\n            var world = 'world';\r\n            console.log('%s %s', hello, world);\r\n        }\r\n\r\n        var gen = generator()\r\n            .addGeneratedMappings('foo.js', foo)\r\n            .addSourceContent('foo.js', foo);\r\n\r\n        console.log('inline mapping url:', gen.inlineMappingUrl());\r\n\r\n\r\n\r\n        inline mapping url: //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiIiwic291cmNlcyI6WyJmb28uanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbbnVsbF19\r\n\r\n\r\n![ChineseCharacters](http://115.28.182.242/outher/1.png)\r\n\r\n---\r\nI modified the source code of inline-source-map in\r\n/inline-source-map/index.js\r\n\r\n![SourceCode](http://115.28.182.242/outher/2.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/comments/101338391","html_url":"https://github.com/thlorenz/inline-source-map/issues/6#issuecomment-101338391","issue_url":"https://api.github.com/repos/thlorenz/inline-source-map/issues/6","id":101338391,"user":{"login":"thlorenz","id":192891,"avatar_url":"https://avatars.githubusercontent.com/u/192891?v=3","gravatar_id":"","url":"https://api.github.com/users/thlorenz","html_url":"https://github.com/thlorenz","followers_url":"https://api.github.com/users/thlorenz/followers","following_url":"https://api.github.com/users/thlorenz/following{/other_user}","gists_url":"https://api.github.com/users/thlorenz/gists{/gist_id}","starred_url":"https://api.github.com/users/thlorenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thlorenz/subscriptions","organizations_url":"https://api.github.com/users/thlorenz/orgs","repos_url":"https://api.github.com/users/thlorenz/repos","events_url":"https://api.github.com/users/thlorenz/events{/privacy}","received_events_url":"https://api.github.com/users/thlorenz/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T16:23:07Z","updated_at":"2015-05-12T16:23:07Z","body":"Anything else we need to do here? Otherwise please close."}}