Skip to content

Fix UTF-16 BE BOM detection - #42786

Closed
Hojun-Cho wants to merge 1 commit into
zed-industries:add_support_for_non_utf_encodingsfrom
Hojun-Cho:fix_utf_16be
Closed

Fix UTF-16 BE BOM detection#42786
Hojun-Cho wants to merge 1 commit into
zed-industries:add_support_for_non_utf_encodingsfrom
Hojun-Cho:fix_utf_16be

Conversation

@Hojun-Cho

Copy link
Copy Markdown

use UTF_16BE instead of UTF_8 when detecting [0xFE, 0xFF] BOM.

@cla-bot

cla-bot Bot commented Nov 15, 2025

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @Hojun-Cho on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@Hojun-Cho

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Nov 15, 2025
@cla-bot

cla-bot Bot commented Nov 15, 2025

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@SomeoneToIgnore

Copy link
Copy Markdown
Contributor

I've got quite confused at first given that there was no such file in main, and only then found that the base branch is github.com/zed-industries/zed/tree/add_support_for_non_utf_encodings

I'm afraid this kind of collaboration scenario is a bit too complex, and you'd better be off commenting the original PR: #36497

Also, given that's closed now, this is not going anywhere for sure.

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

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants