/foo = /bar invalid in UTF
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2932 - Reported by opoq
When config.txt contains:
/foo = /bar
And encoding is UTF (with BOM)
Error:
[19:44:14 INFO]: COMPILE ERROR: Expected command (/command) at start of alias. Instead, found LIT (/foo)
:/mc/plugins/CommandHelper/config.txt:1
ANSI and UTF without BOM both function normally.
Comment by LadyCailin
The byte order mark is actually a character that is inserted at the beginning of the file. Many things probably don't support that, though there's no valid reason for wanting that character literally, so I guess I can accept and ignore it. I think. Regardless, for now, change your encoding to UTF-8 without BOM.