Skip to content

Search does not work in UTF-16 LE encoded files #17408

@garfieldbanks

Description

@garfieldbanks
  • VSCode Version: 1.8.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Create and open a test_folder in VSCode.
    image

  2. Add an XML file encoded in UTF-16 LE.
    image

  3. Add a javascript file encoded in UTF-8.
    image

  4. 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.
    image

Note: The XML file encoded in UTF-16 LE is found only if it is currently open in VSCode.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysearchSearch widget and operation issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions