-
Notifications
You must be signed in to change notification settings - Fork 263
Description
Having a "do-build-all.cs" file that starts like this:
//css_import ../_References/Submodules/zeta-shared-ci-assets/DevelopmentTools/CentralScripts/Afx.cs;
using ZetaSoftware.CentralScripts;
...
I've run it with version 4.8.18 of CS-Script but it always complained that "ZetaSoftware.CentralScripts" was unknown.
In fact I could even write gibberish in the very first line for the file path within the //css_import directive. No error that it cannot find the file, no nothing.
Out of ideas I converted the file from UTF-8 with BOM to UTF-8 without BOM. (BOM = Byte Order Mark).
Et voilà! It is working now.
Tried it multiple times by converting back and forth and it always behaves the same. As soon as there is a BOM, it does skip the //css_import directive.
Even adding a comment before as the very first line does not improve the behaviour.
My question
Could you please make CS-Script work with UTF-8 BOM files? 😊