Title: Hang on UTF-16 with BOM · Issue #637 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: Hang on UTF-16 with BOM · Issue #637 · cppcheck-opensource/simplecpp
X Title: Hang on UTF-16 with BOM · Issue #637 · cppcheck-opensource/simplecpp
Description: simplecpp hangs on a file containing a BOM, e.g. \xFF\xFE\x00\x3B. It looks like there are no tests actually using the FileStream class, or I haven't found them.
Open Graph Description: simplecpp hangs on a file containing a BOM, e.g. \xFF\xFE\x00\x3B. It looks like there are no tests actually using the FileStream class, or I haven't found them.
X Description: simplecpp hangs on a file containing a BOM, e.g. \xFF\xFE\x00\x3B. It looks like there are no tests actually using the FileStream class, or I haven't found them.
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/637
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hang on UTF-16 with BOM","articleBody":"simplecpp hangs on a file containing a BOM, e.g. `\\xFF\\xFE\\x00\\x3B`.\nIt looks like there are no tests actually using the `FileStream` class, or I haven't found them.","author":{"url":"https://github.com/chrchr-github","@type":"Person","name":"chrchr-github"},"datePublished":"2026-03-27T15:25:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/637/simplecpp/issues/637"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f79771ef-574b-b496-6faf-0cc6f0794e50 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D90A:6456C:470201:608021:6A4DA219 |
| html-safe-nonce | 7c988eb37e2102430f2e938010e288cb8fb6f7bec9c0347738a846a38399b573 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTBBOjY0NTZDOjQ3MDIwMTo2MDgwMjE6NkE0REEyMTkiLCJ2aXNpdG9yX2lkIjoiOTE5ODk4MzM3MTc5MDU5MDQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66dc1e1ac7b60fc82e7c8e366035501e5615d9f83c3e13cf264636b73dab22f0 |
| hovercard-subject-tag | issue:4153683256 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cppcheck-opensource/simplecpp/637/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6315851347357485089a892907773e320c0324881c5eedfb3c826c9fcdc99033/cppcheck-opensource/simplecpp/issues/637 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6315851347357485089a892907773e320c0324881c5eedfb3c826c9fcdc99033/cppcheck-opensource/simplecpp/issues/637 |
| og:image:alt | simplecpp hangs on a file containing a BOM, e.g. \xFF\xFE\x00\x3B. It looks like there are no tests actually using the FileStream class, or I haven't found them. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chrchr-github |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width