Skip to content

[FEATURE REQUEST] add "coding/encoding" property from modeline #1

Open
@pryrt

Description

As I mentioned in the EditorConfig issue, it would be nice to have a plugin for Notepad++ that would support various modeline styles for setting the file encoding.

The example I used there was -*- encoding: "IBM850" -*- and # encoding=ibm850. Those were the examples I used, because those are the ones I've mostly seen in Python scripts, though PEP 263 allows the vim-style modelines as well.

If the NppFileSettings plugin were to add the encoding modeline (especially if it handled multiple of the modeline syntaxes) and be published, then I would start using it myself, and would recommend it in conversations like this one

(Sorry for spamming the EditorConfig issue. I wasn't sure where such functionality would be best implemented: but yes, this plugin seems a better fit for the modeline charset parsing. ;-) Thanks for the redirect.)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions