Skip to content

Opening a blank file should use same encoding as for a new document #1874

@vlakoff

Description

@vlakoff

Use case: I often create a new file by right-click in Windows Explorer, then open this file with Notepad++.

  • When creating a new file in Notepad++, it uses the New Document > Encoding preference (default UTF-8 w/o BOM).
  • Furthermore, if I open a file containing only ANSI characters, it uses UTF-8 as well.
  • BUT, if I open a blank file, it doesn't use UTF-8, but ANSI...

This is inconsistent and definitely has had caused me some troubleshooting headaches!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions