AHSS Posted October 5, 2011 Share Posted October 5, 2011 All of my scripts are encoded in ANSI (didn't change it). I compiled it, then this error comes: "script path"[type] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. UTF-8 is not supported by luac, UTF-8 without BOM is supported by luac, but not by MTA. So, IDK what to do, how to stop that. Another thing, can I use upgrade on a compiled script? thanks in advance. Link to comment
BinSlayer1 Posted October 6, 2011 Share Posted October 6, 2011 So work around it.. if luac doesnt support utf8 then change it to ansi and when mta requires you an utf8 file then change it to utf8.. easiest way I know to change encoding is by using Notepad ++ and yes you can use /upgrade on a compiled script (you should run the latest MTA build when you do this though) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now