On windows 7 (x64), the default option, for saving text files in notepad is ANSI. One can select other encoding from the combo box, however, I'd like this option to be the default.
12 Answers
Idea for saving it in UTF-8 by default, haven't found a different encoding way as default.
Right click -> New -> Text DocumentOpen it, and do NOT type anything into it.
Go to
File -> Save As...and choose UTF-8 underEncoding, pressSaveand overwrite existing file. Close the file.Rename
New Text Document.txttoTXTUTF-8.txtCopy
TXTUTF-8.txttoC:\WINDOWS\SHELLNEWGo to "Start -> Run..." and type regedit. Press OK.
Navigate to
HKEY_CLASSES_ROOT\.txt\ShellNewRight click in the right window -> New ->
String Valueand rename it toFileNameDouble click on
FileNameand putTXTUTF-8.txtinto 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.
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.