See:
https://rubocop-sketchup.readthedocs.io/en/latest/cops_suggestions/#sketchupsuggestionsfileencoding
The 'cop' involves encoding of __dir__ & __FILE__. I tested with SU 2017, which I think is the first version supporting UI::HtmlDialog. I couldn't repo it, both reported being encoded as UTF-8.
I tested with a directory of C:/Ruby киї_テスト, which seems like it would be a valid test for encoding?
So, if encoding isn't an issue, maybe the 'cop' should be removed or disabled?
See:
https://rubocop-sketchup.readthedocs.io/en/latest/cops_suggestions/#sketchupsuggestionsfileencoding
The 'cop' involves encoding of
__dir__&__FILE__. I tested with SU 2017, which I think is the first version supportingUI::HtmlDialog. I couldn't repo it, both reported being encoded asUTF-8.I tested with a directory of
C:/Ruby киї_テスト, which seems like it would be a valid test for encoding?So, if encoding isn't an issue, maybe the 'cop' should be removed or disabled?