{"action":"created","issue":{"url":"https://api.github.com/repos/inikulin/parse5/issues/68","labels_url":"https://api.github.com/repos/inikulin/parse5/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/inikulin/parse5/issues/68/comments","events_url":"https://api.github.com/repos/inikulin/parse5/issues/68/events","html_url":"https://github.com/inikulin/parse5/issues/68","id":106503670,"number":68,"title":"TypeError: this.html.charCodeAt is not a function","user":{"login":"faustman","id":126356,"avatar_url":"https://avatars.githubusercontent.com/u/126356?v=3","gravatar_id":"","url":"https://api.github.com/users/faustman","html_url":"https://github.com/faustman","followers_url":"https://api.github.com/users/faustman/followers","following_url":"https://api.github.com/users/faustman/following{/other_user}","gists_url":"https://api.github.com/users/faustman/gists{/gist_id}","starred_url":"https://api.github.com/users/faustman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faustman/subscriptions","organizations_url":"https://api.github.com/users/faustman/orgs","repos_url":"https://api.github.com/users/faustman/repos","events_url":"https://api.github.com/users/faustman/events{/privacy}","received_events_url":"https://api.github.com/users/faustman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-15T08:02:21Z","updated_at":"2015-09-15T10:57:49Z","closed_at":null,"body":"## Error\r\n```\r\n/app/node_modules/parse5/lib/tokenization/preprocessor.js:32\r\n    this.pos = this.html.charCodeAt(0) === $.BOM ? 0 : -1;\r\n                         ^\r\n\r\nTypeError: this.html.charCodeAt is not a function\r\n    at new module.exports (/app/node_modules/parse5/lib/tokenization/preprocessor.js:32:26)\r\n    at new module.exports (/app/node_modules/parse5/lib/tokenization/tokenizer.js:148:25)\r\n    at Parser._reset (/app/node_modules/parse5/lib/tree_construction/parser.js:399:22)\r\n    at Parser.parse (/app/node_modules/parse5/lib/tree_construction/parser.js:361:10)\r\n    at readHtmlFile (/app/index.js:35:17)\r\n    at /app/index.js:23:22\r\n    at Array.forEach (native)\r\n    at /app/index.js:20:11\r\n    at FSReqWrap.oncomplete (fs.js:82:15)\r\n```\r\n\r\n## Env:\r\n* OS: OS X 10.10.4\r\n* NodeJS: v4.0.0\r\n* npm: v2.14.2"},"comment":{"url":"https://api.github.com/repos/inikulin/parse5/issues/comments/140353412","html_url":"https://github.com/inikulin/parse5/issues/68#issuecomment-140353412","issue_url":"https://api.github.com/repos/inikulin/parse5/issues/68","id":140353412,"user":{"login":"inikulin","id":453071,"avatar_url":"https://avatars.githubusercontent.com/u/453071?v=3","gravatar_id":"","url":"https://api.github.com/users/inikulin","html_url":"https://github.com/inikulin","followers_url":"https://api.github.com/users/inikulin/followers","following_url":"https://api.github.com/users/inikulin/following{/other_user}","gists_url":"https://api.github.com/users/inikulin/gists{/gist_id}","starred_url":"https://api.github.com/users/inikulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inikulin/subscriptions","organizations_url":"https://api.github.com/users/inikulin/orgs","repos_url":"https://api.github.com/users/inikulin/repos","events_url":"https://api.github.com/users/inikulin/events{/privacy}","received_events_url":"https://api.github.com/users/inikulin/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T10:57:49Z","updated_at":"2015-09-15T10:57:49Z","body":"Can you provide code which causes this error, please?"}}