Wrong default encoding for loading code snippets #1171
Steps to reproduce
Code snippets are loaded with the explicitly stated encoding at the top of the file (e.g.
Code snippets are loaded with the encoding defined in the environment.
This also applies to Rules, Checks, and commands defined in
An initial step would be to interpret the contents as UTF-8 (which Ruby defaults to anyway), but a better approach would be to infer the encoding from the initial line, looking for
The text was updated successfully, but these errors were encountered: