Script: Added Unicode support

The script file can now be UTF8 encoded. There are some limitations with UTF8 data and the Lua string library, check: http://lua-users.org/lists/lua-l/2012-02/msg00241.html
This commit is contained in:
Birunthan Mohanathas
2012-07-13 14:36:59 +03:00
parent dcdee91670
commit 99c67f7dac
6 changed files with 69 additions and 36 deletions

View File

@ -24,7 +24,7 @@
class LuaScript
{
public:
LuaScript(const char* file);
LuaScript(const WCHAR* scriptFile);
~LuaScript();
bool IsInitialized() { return m_Initialized; }