2
2
I'm using WinSCP in order to work via SFTP with a remote server running a Linux distro. I'm also using Notepad++ (latest version) as my text editor (when editing a remote file).
When I use WinSCP to create a new file in the remote server using:
Right click > New > File...
Notepad++ opens the empty file, but the encoding appears as ANSI instead of UTF-8 w/o BOM, which is my default. I even have the "Apply to opened ANSI files" option enabled in Notepad++
Settings / Preferences / New Document / Encoding /
UTF-8 without BOM / Apply to opened ANSI files
Because of this I have to manually select Encoding / Convert to UTF-8 without BOM
each time, and if for some reason I forget I have to do that step, well, the file is saved as ANSI and that can cause trouble.
Is there a way for the new file to be encoded as UTF-8 without BOM from the get-go?
any solution for this so far? I have the exact same problem. It's annoying having to change the encoding manually each time. – DiegoDD – 2015-08-26T21:10:23.987