Workaround: Use another Editor like Notepad++ to create a file without BOM.
This is a bug in LuaInterface/Lua itself, so not really in the scope of DynamicLua. It's not easy to fix this in DynamicLua, because a fix would include checking all files passed to Lua, witch can be very slow.
UTF-8 files with Byte-Order-Mark (http://en.wikipedia.org/wiki/Byte_order_mark) at the beginning (like the ones created by Visual Studio) produce parsing errors.
Workaround: Use another Editor like Notepad++ to create a file without BOM.
This is a bug in LuaInterface/Lua itself, so not really in the scope of DynamicLua. It's not easy to fix this in DynamicLua, because a fix would include checking all files passed to Lua, witch can be very slow.