我如何才能强制使 Notepad++ 每次创建新文件时都使用 UTF-8?

Jon*_*nas 20 notepad++ character-encoding utf-8

我想在我的文件中使用字符编码 UTF-8(无 BOM)。我可以从“格式”菜单更改编码,但每次创建新文件或打开文件时都会重置。

我该怎么做 Notepad++ 使用 UTF-8(没有 BOM)作为默认编码?

小智 25

Settings -> Preferences -> New Document/ Open Save Directory

然后在

New Document -> Encoding 查看 UTF8 without BOM

您可能还想勾选“应用于打开的 ANSI 文件”:

截图记事本设置