Support UTF8 text in UI
OpenMW UI should correctly render UTF8 characters. Currently all UTF8 messages are rendered in UI as "??????".
Steps to reproduce with OpenMW Lua:
- Save to "DataFiles/test.ui" with UTF8 encoding.
local ui = require('openmw.ui')
return {
engineHandlers = {
onKeyPress = function()
ui.showMessage('ЫЮЯ')
end
}
}
- Save to "DataFiles/test.omwscripts"
PLAYER: test.lua
- Add to openmw.cfg
content = test.omwscripts
- Run openmw, start/load game, press any key.
Edited by Petr Mikheev