> luaL_loadfile, which doesn't like the UTF8-BOM and throws an error. luaL_loadfile does handle (=skip) BOM in Lua 5.2, doesn't it? http://www.lua.org/source/5.2/lauxlib.c.html#skipBOM