Skip to content

fix: prevent crash when opening UTF-8 BOM encoded files - #92

Open
y-bow wants to merge 2 commits into
Sidenai:mainfrom
y-bow:fix-issue-90
Open

fix: prevent crash when opening UTF-8 BOM encoded files#92
y-bow wants to merge 2 commits into
Sidenai:mainfrom
y-bow:fix-issue-90

Conversation

@y-bow

@y-bow y-bow commented Jul 9, 2026

Copy link
Copy Markdown

Fixes #90.

Prevents a crash when opening UTF-8 BOM encoded files when iconv-lite-umd is unavailable by guarding the dynamic import before calling encodingExists().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to open files encoded 'UTF-8 with BOM'

1 participant