I have downloaded edit.exe and have run it locally in a PowerShell v7 shell and also have it copied to a remote Windows 10 machine. The executable has been copied to the C:\Windows\System32 directory on both systems.
When I run edit.exe locally it seems to behave properly.
This is what it looks like when I run edit.exe using this command
edit.exe testing_edit.exe_123.txt

This is what it looks like on the remote Windows 10 system when I run edit.exe using this command (SSH'd into from an Ubuntu WSL shell). I tested SSH'ing into the system from a PowerShell v5 shell and launching edit and saw the same behavior. The remote Windows 10 machine is configured to use PowerShell v7 for it's default shell when you connect via SSH. PowerShell v 7 is PowerShell 7.5.1

Now I blank out that text and type this text and save the file


Now I reopen the file edit testing1234.txt and there are all kinds of strange characters inserted into the file. This happens each and every time the file is created or opened.
