How to configure the default encoding (utf-8) in Codex/VSCODE

Open 💬 5 comments Opened Dec 19, 2025 by santanaigorsg

What version of the VS Code extension are you using?

0.4.53

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Windows 11

What issue are you seeing?

Hello, I use VS Code with the Codex extension and my language is PT-BR UTF-8 WITHOUT BOM. The problem is that whenever the Codex agent encodes something, it converts it to UTF-8-WITCH BOM, and this always breaks my code. How do I configure the Codex extension in VS Code to use UTF-8 WITHOUT BOM? Would it be directly in config.toml?

What steps can reproduce the bug?

Whenever I send a command to the agent to encode it

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

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