update new utf8 decode method from Lua 5.3