Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function for detecting BOM #8

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Add function for detecting BOM #8

merged 2 commits into from
Oct 16, 2024

Conversation

RauliL
Copy link
Member

@RauliL RauliL commented Oct 11, 2024

Even though BOM is rarely used these days, I find it useful to be able
detect it sometimes.

I added new function that detects all the BOMs listed in Wikipedia.

Currently UTF-32LE doesn't work for some reason. I'll investigate why.

@RauliL RauliL force-pushed the bom-detection branch 6 times, most recently from 244b7f0 to e40a2db Compare October 16, 2024 05:02
@RauliL RauliL changed the title WIP: Add function for detecting BOM Add function for detecting BOM Oct 16, 2024
Even though BOM is rarely used these days, I find it useful to be able
detect it sometimes.

I added new function that detects all the BOMs listed in Wikipedia.

Currently UTF-32LE doesn't work for some reason. I'll investigate why.
@RauliL RauliL merged commit 3acbc8b into master Oct 16, 2024
3 checks passed
@RauliL RauliL deleted the bom-detection branch October 16, 2024 05:09
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.

1 participant