2

This seems to happen sporadically but every so often, a nul control character will appear in my Sublime Text editor. The file types are not limited - so far it has appeared in .scss, .html, .php and .js files. Its particularly annoying when editing .scss files as it returns string errors in the command line when running a sass --watch and so breaks the SASS to CSS compiling. It is not always obvious, the watch error will be returned and i must close my source file and reopen to see the control character.

Any help diagnosing this annoying issue is much appreciated.

Community
  • 1
  • 1

1 Answers1

4

With regex enabled, find and replace \x00 with nothing. All NUL characters are gone..

geotheory
  • 22,624
  • 29
  • 119
  • 196