Describe the bug
Copilot doesn't respect the original file encoding; it makes edits and changes the file format to UTF-8. I haven't found a prompt to prevent this from happening.
What it does, after saving the wrong file, is try to revert the encoding using scripts.
Affected version
GitHub Copilot CLI 1.0.56.
Steps to reproduce the behavior
- Create a Windows1252 file and save in repo;
- Ask the copilot to make changes.
Expected behavior
Copilot needs to respect file encoding
Additional context
No response
Describe the bug
Copilot doesn't respect the original file encoding; it makes edits and changes the file format to UTF-8. I haven't found a prompt to prevent this from happening.
What it does, after saving the wrong file, is try to revert the encoding using scripts.
Affected version
GitHub Copilot CLI 1.0.56.
Steps to reproduce the behavior
Expected behavior
Copilot needs to respect file encoding
Additional context
No response