如何在 Corona SDK 中添加特殊字符?

How to put special characters in Corona SDK?

我不知道该怎么做。

local myText = display.newText( "Święta", 100, 200, native.systemFont, 16 )

第一个和第四个字母显示问号

你是指模拟器还是真机?它在我的笔记本电脑上运行良好。我使用的是 Corona SDK v.2016.2992 和 Win7 64bit 的波兰版。

尝试保存 lua 个编码设置为无 BOM 的 UTF-8 文件。在 Notepad++ find "Encoding->Encode in UTF-8 without BOM". I'm using Sublime Text 3 ("File->Save with Encoding->UTF-8").

您可以在 Problem displaying international (Norwegian) characters 中找到更多信息。