I was curious to try out the support for emoji characters in version 4 to implement some interesting features on my plugins, but there's something wrong.
I copied and pasted the example on the news released yesterday, but the text echoed is displayed like this:
And the alias handling the command gives this error:
The alias, copied from somewhere, some time ago, looks like this:
Code: Select all
local f,e = loadstring("return "..matches[2])
if not f then
f,e = assert(loadstring(matches[2]))
end
local r = f()
if r ~= nil then display(r) end
I've also tried to change server encoding to UTF-8, even if I think it's not related to the problem.
Could you please help me understand what's going on? I'm currently running on Mudlet 4.0.1
Thanks.
EDIT: Oh, I forgot: I'm running on Windows 10