Set Text Editor File Encoding
Microsoft Windows 10 Notepad

VSCode, Set File Encoding

Vim, Set File Encoding
In vim, use one of these commands:
:set fileencoding=utf-8
:setglobal fileencoding=utf-8
In vim, use one of these commands:
:set fileencoding=utf-8
:setglobal fileencoding=utf-8