{"action":"created","issue":{"url":"https://api.github.com/repos/spullara/mustache.java/issues/120","labels_url":"https://api.github.com/repos/spullara/mustache.java/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/spullara/mustache.java/issues/120/comments","events_url":"https://api.github.com/repos/spullara/mustache.java/issues/120/events","html_url":"https://github.com/spullara/mustache.java/issues/120","id":53256331,"number":120,"title":"Read file without specifying charset?","user":{"login":"freewind","id":333781,"avatar_url":"https://avatars.githubusercontent.com/u/333781?v=3","gravatar_id":"","url":"https://api.github.com/users/freewind","html_url":"https://github.com/freewind","followers_url":"https://api.github.com/users/freewind/followers","following_url":"https://api.github.com/users/freewind/following{/other_user}","gists_url":"https://api.github.com/users/freewind/gists{/gist_id}","starred_url":"https://api.github.com/users/freewind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freewind/subscriptions","organizations_url":"https://api.github.com/users/freewind/orgs","repos_url":"https://api.github.com/users/freewind/repos","events_url":"https://api.github.com/users/freewind/events{/privacy}","received_events_url":"https://api.github.com/users/freewind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-02T14:54:06Z","updated_at":"2015-01-09T07:47:42Z","closed_at":"2015-01-08T01:18:59Z","body":"I found some code reading files without specifying charset:\r\n\r\n```\r\nnew FileInputStream(file)\r\n```\r\n\r\nWhen my OS charset is \"ASCII\" and my data is Chinese, the rendered content will be partially lost.\r\n\r\nRefer: \r\n\r\nhttps://github.com/spullara/mustache.java/blob/28bab527f3e4149b858d8bc726100fe5e41516a4/compiler/src/main/java/com/github/mustachejava/FallbackMustacheFactory.java#L106\r\n\r\nhttps://github.com/spullara/mustache.java/blob/f8e148f09bc5e9035ea32ee30c7a2adaeddc4f23/compiler/src/main/java/com/github/mustachejava/resolver/FileSystemResolver.java#L52"},"comment":{"url":"https://api.github.com/repos/spullara/mustache.java/issues/comments/69303282","html_url":"https://github.com/spullara/mustache.java/issues/120#issuecomment-69303282","issue_url":"https://api.github.com/repos/spullara/mustache.java/issues/120","id":69303282,"user":{"login":"freewind","id":333781,"avatar_url":"https://avatars.githubusercontent.com/u/333781?v=3","gravatar_id":"","url":"https://api.github.com/users/freewind","html_url":"https://github.com/freewind","followers_url":"https://api.github.com/users/freewind/followers","following_url":"https://api.github.com/users/freewind/following{/other_user}","gists_url":"https://api.github.com/users/freewind/gists{/gist_id}","starred_url":"https://api.github.com/users/freewind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freewind/subscriptions","organizations_url":"https://api.github.com/users/freewind/orgs","repos_url":"https://api.github.com/users/freewind/repos","events_url":"https://api.github.com/users/freewind/events{/privacy}","received_events_url":"https://api.github.com/users/freewind/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T07:47:42Z","updated_at":"2015-01-09T07:47:42Z","body":"You are right, the problem should not be here. But my problem exists, I will update it when I find something"}}