duncansmart/less.js-windows — pull request #25 by Gutek (2013-01-15 23:20:52+00:00)
Title: Changing OpenTextFile to use ADODB.Stream to solve BOM issue

not sure if this will work on all computers (ADOBE.Stream can be disabled as far as I know), but at least this makes checking for BOM unnecessary. It read properly file.

tried on files with ANSI, UTF-8 with BOM and UTF-8 without BOM encouraging.

sending this as pull request, maybe it would be helpful to solve issues that could be encountered on system with diff regional settings.