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

Open 💬 3 comments Opened Mar 15, 2026 by bear0330
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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 ↗

3 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #13743
  • #14227
  • #13005

Powered by Codex Action

etraut-openai contributor · 5 months ago

If you can repro this, use /feedback to upload your session and post the thread ID here. This will allow us to determine whether this is model behavior or an encoding issue somewhere in the harness or extension.

bear0330 · 5 months ago

019cf4df-b2cf-7c13-a062-19e44b9315b5

Thanks :)