Nucleus handler tools › Docs › Checks

A file that isn't UTF-8

Warningfile-encodingA Nucleus check · Probably wrong: Nucleus runs it, but not the way you meant.

Why it matters

Nucleus reads handlers as UTF-8. A file saved as ANSI / Windows-1252 turns accented letters into � in names, paths and messages.

This check looks at the file's bytes, so it can't be shown as text.

How to fix it

Save the file as UTF-8 (in Notepad++: Encoding › Convert to UTF-8; in VS Code: the encoding in the status bar).

Turn it off, or change how it shows

Each check can be shown as an error, warning, info or hint, or turned off. VS Code: "splitscreenme.lint.rules": { "file-encoding": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule file-encoding=off. Other editors: the lint.rules setting of ncdev lsp.

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop