Is it possible to change the default encoding in notepad? [duplicate]
Solution 1:
Idea for saving it in UTF-8 by default, haven't found a different encoding way as default.
Right click -> New -> Text Document
Open it, and do NOT type anything into it.
Go to
File -> Save As...
and choose UTF-8 underEncoding
, pressSave
and overwrite existing file. Close the file.Rename
New Text Document.txt
toTXTUTF-8.txt
Copy
TXTUTF-8.txt
toC:\WINDOWS\SHELLNEW
Go to "Start -> Run..." and type regedit. Press OK.
Navigate to
HKEY_CLASSES_ROOT\.txt\ShellNew
Right click in the right window -> New ->
String Value
and rename it toFileName
Double click on
FileName
and putTXTUTF-8.txt
into value data field and press OK.Test it: Create new .txt document (Right click -> New -> Text Document). Open it and go to
File -> Save As...
and see look at the encoding to make sure it defaults to UTF-8.
Solution 2:
In windows 7 (perhaps other systems as well) you need to set the system locale - regional settings > administrative tab > change system locale to the language of your choice. This solved my problem of Hebrew fonts not displaying properly in notepad.