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" />
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗