microsoft / microsoft/vscode

Can only search for the content of the opened file.

Open
#327,568 1 comment 0 reactions 1 assignee Claimed by @osortega View on GitHub
bug
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Version: 1.130.0 (user setup)
Commit: 1b6a188127eeaf9194f945eb6eb89a657e93c54c
Date: 2026-07-22T14:55:04Z
Electron: 42.6.0
ElectronBuildId: 14623276
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

1. Create a text file in GB2312 and UTF-8 formats.
2. Begin query
3. It can be observed that the search results vary depending on the value of the files.encoding configuration. However, both of these encodings are Simplified Chinese, and I need them to be searchable in both cases.

Image

Image

**In a scenario like this, opening a UTF-8 formatted file allows searching in both formats.**
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.