Skip to content

Cannot force UTF-8 #4013

@Grimshad

Description

@Grimshad

What version of Codex is running?

vscode extension 0.4.12

Which model were you using?

codex high, medium, and low

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What steps can reproduce the bug?

Codex overwrites emoji's with unicode jibberish. This is what gpt 5 said about it:

Codex extension bug → It’s writing the file contents with the wrong encoding (double-encoding UTF-8 into CP1252/Latin-1), which produces mojibake like ðŸ....

Config.toml can’t fix it → There’s no supported config option today to change file encoding. Codex assumes UTF-8, but sometimes on Windows it falls back incorrectly when saving.

What is the expected behavior?

Don't automatically replace emoji with unicode when editing files

Expected to see: 🔴

What do you see instead?

Saw: 🟢

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions