Hello,
I have this little problem with my mod: When I try to run it, it get the following error in Lua.log:
[2957.903] Syntax Error:<file path>\UnitFlagManager.lua:1: unexpected symbol near 'ï'
[2957.903] Runtime Error: Error loading <file path>\UnitFlagManager.lua
Unit flag icons don't load at all when I have my mod activated. As far as I know the file paths are okay. I googled "unexpected symbol near 'ï'" problem and found that it might be caused by byte order mark in the code file. I also tried to convert UnitFlagManager.lua to "UTF-8 without BOM" and ANSI, (with notepad++) but that didn't help.
First I thought this could be caused by my user name becuse there was "ä" character. I changed that to no avail.
I have tried turning VFS on and off, it doesn't make any difference.
What am I doing wrong?
I have this little problem with my mod: When I try to run it, it get the following error in Lua.log:
[2957.903] Syntax Error:<file path>\UnitFlagManager.lua:1: unexpected symbol near 'ï'
[2957.903] Runtime Error: Error loading <file path>\UnitFlagManager.lua
Unit flag icons don't load at all when I have my mod activated. As far as I know the file paths are okay. I googled "unexpected symbol near 'ï'" problem and found that it might be caused by byte order mark in the code file. I also tried to convert UnitFlagManager.lua to "UTF-8 without BOM" and ANSI, (with notepad++) but that didn't help.
First I thought this could be caused by my user name becuse there was "ä" character. I changed that to no avail.
I have tried turning VFS on and off, it doesn't make any difference.
What am I doing wrong?
