You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Search does not work in UTF-16 LE encoded files #17408
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysearchSearch widget and operation issuesverifiedVerification succeeded
Make sure both files are closed. Then search for text that can be found in both files. Note that only the javascript file is actually listed in the results.
Note: The XML file encoded in UTF-16 LE is found only if it is currently open in VSCode.
changed the title [-]XML files encoded in UTF-16 LE are not searchable in find in folder[/-][+]Regression: search no longer finds in UTF-16 encoded files[/+]on Dec 16, 2016
changed the title [-]Regression: search no longer finds in UTF-16 encoded files[/-][+]Search does not work in UTF-16 LE encoded files[/+]on Dec 17, 2016
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysearchSearch widget and operation issuesverifiedVerification succeeded
Activity
bpasero commentedon Dec 16, 2016
garfieldbanks I assume the file contains a UTF-16 LE BOM?
garfieldbanks commentedon Dec 16, 2016
Wow. That was fast.
I don't know. I just used VSCode to reopen an old file with a new encoding, and then I put in the text with the tag.
bpasero commentedon Dec 16, 2016
I can reproduce after saving a file within VS Code in UTF-16 LE. Also reproduces with VS Code 1.7.
[-]XML files encoded in UTF-16 LE are not searchable in find in folder[/-][+]Regression: search no longer finds in UTF-16 encoded files[/+][-]Regression: search no longer finds in UTF-16 encoded files[/-][+]Search does not work in UTF-16 LE encoded files[/+]Search does not work in UTF-16 LE encoded files (fixes #17408)
Merge pull request #17454 from Microsoft/ben/17408
Search does not work in UTF-16 LE encoded files (fixes microsoft#17408)
Merge pull request microsoft#17454 from Microsoft/ben/17408