Could not parse resource metadata. unexpected symbol near '<\239>'

Hello can someone help me with this?

Could not parse resource metadata file E:/FiveM/server-data/resources//tes/__resource.lua: E:/FiveM/server-data/resources//tes/__resource.lua:1: unexpected symbol near '<\239>'

This is my __resource.lua

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
client_script 'tesClient.net.dll'
server_script 'tesServer.net.dll'

I know character 239 is backtick, but as you can see I don’t use any ` character.

I also tried to use empty __resource.lua and still getting those error.

Am i missing something?
Any help would be appreciated.

1 Like

I found that its just file encoding issue.
Fixed by saving as UTF-8 without signature on Visual Studio 2019

3 Likes

i dont have UTF-8 as an option to save

What editor are you using?

visual studio code

Look at the lower right corner of the screenshot: