I'm so tired, but there is an exit from my typos: function numToCode n return numToCodePoint(n) end numToCode ;-)