You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rephrase ASCII requirement in system prompt: Generated content, not file encoding. #13552
The system prompts in this repo instructs to prefer ASCII. My interpretation is that this is about what the agent produces, not about the file encoding. On Windows (not WSL), it seems to have the effect that files are read/written with ASCII/default encoding, causing garbled text (mojibake) if a file is already UTF-8 and contains non-ASCII characters (such as æøå).
The prompt should be updated to clarify that the ASCII preference is for generated content, and that all files should be read/written as UTF-8 unless otherwise specified, or something. (UTF-8 is, after all, compatible with ASCII for ASCII-only content.)
Activity
github-actions commentedon Mar 5, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
cmeeren commentedon Mar 5, 2026
It's similar, but I don't think it's a duplicate.
etraut-openai commentedon Mar 5, 2026
The system prompt indicates what the model should do, not the encoding on disk. The latter is the concern of the harness and tools that are called.
If you see examples of incorrect encoding, please use the
/feedbackslash command to upload your session details and file a bug report.