VS Code Extension version modified code all unicode characters become ?? on Windows

Open 💬 3 comments Opened Mar 15, 2026 by bear0330

What version of the IDE extension are you using?

26.311.21342

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

For example I have a JS code with content:

/**
 * AuthGateRegistry — collects auth gates (pickup code, pubkey, E2EE key, …) and runs them
 * in sequence before invoking onUnlockedCallback. Decoupled from DownloadManager so that
 * DownloadManager can be constructed at the right moment with correct, final values.
 *
 * Each gate: { validate() → null|string, apply() → void, focus?() → void }
 */

after Codex edited it, it becomes:

/**
 * AuthGateRegistry ??collects auth gates (pickup code, pubkey, E2EE key, ?? and runs them
 * in sequence before invoking onUnlockedCallback. Decoupled from DownloadManager so that
 * DownloadManager can be constructed at the right moment with correct, final values.
 *
 * Each gate: { validate() ??null|string, apply() ??void, focus?() ??void }
 */

What steps can reproduce the bug?

Just like issue description, prepare a code with unicode like — (or → ... etc, any non-ascii), then let Codex extension to edit it.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗