summaryrefslogtreecommitdiffstats
path: root/example/serverdata/scripts/bomtest.lua
diff options
context:
space:
mode:
Diffstat (limited to 'example/serverdata/scripts/bomtest.lua')
-rw-r--r--example/serverdata/scripts/bomtest.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/serverdata/scripts/bomtest.lua b/example/serverdata/scripts/bomtest.lua
new file mode 100644
index 0000000..d4b0212
--- /dev/null
+++ b/example/serverdata/scripts/bomtest.lua
@@ -0,0 +1,7 @@
+-------------------------------------------------------------------------------
+-- This file verifies that an UTF-8 BOM is correctly handled by manaserv ------
+
+function testUtf8Bom()
+ -- Dummy function, the test is really about whether the hidden BOM at the
+ -- start of this file is skipped before tripping the Lua parser.
+end