Character encoding converstion functions for Lua (as test/example)
Fix some warnings reported by static code analysis