Hello!
Ihave some trouble. I had never work with LUA before.
I have simple file with the next content:
«Counting Stars» ― OneRepublic
So I wrote the next code for read this file:
BotSite = "" local open = io.open local function read\_file(path) local file = open(path, "r") if not file then return nil end local content = file:read "\*all" file:close() return content end BotSay = UserFrom .. ", " ..read\_file("D:/Snip/Snip.txt")
After executing that code, I getting:
nickname, «Counting Stars» â OneRepublic
As i right understand it UTF-8 problem. How to fix it?