Skip to content

Searching files without UTF-8 BOM? #51859

Discussion options

You must be logged in to vote

Is a file omitted from search if a non-UTF-8 character sequence is found?

That's correct. We convert the raw bytes to UTF-8 and if the conversion is not successful, the blob is excluded.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Liturgist
Comment options

@look
Comment options

Answer selected by look
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub
2 participants