PowerShell shows and writes Turkish characters incorrectly (encoding issue)
Description
While running the repo’s PowerShell commands, Turkish characters (ç, ğ, ı, İ, ö, ş, ü) are not displayed correctly in the console and sometimes are written/read incorrectly when using Get-Content / Set-Content. This makes Turkish output unreadable and corrupts files created by the scripts.
Steps to Reproduce
Open Windows PowerShell (or Terminal → PowerShell).
Create a UTF-8 file with Turkish text, e.g. response.md containing:
Bu proje, gelen response'un geldiğini nasıl anlıyor ve response'u nasıl alıyor?
Run a command that reads the file, e.g.:
powershell.exe -Command "Get-Content '.\response.md'"
Observe the console output and any files created by the scripts.
Expected Result
All Turkish characters render correctly in the console and are preserved when reading/writing files.
Actual Result
Some characters appear as mojibake (� or wrong symbols), and occasionally the scripts write out corrupted text (see screenshots).
Screenshots
<img width="664" height="252" alt="Image" src="https://github.com/user-attachments/assets/4bad5adf-3d56-454c-b3d6-5d7363aa4293" />
5 Comments
Won't this issue be fixed? I can't use Codex in the projects I use in Turkish.
Same issue happening, it makes codex totally unusable for Turkish users. @bymechul
I completely agree. It's very annoying that they haven't solved such a critical and easily solvable problem.
@ChenyangLi4288 Can you open a new PR?
This has been fixes in recent versions of codex.