WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
361 stars 27 forks source link

Add FFI & UTF8 #161

Closed Trey2k closed 10 months ago

Trey2k commented 10 months ago

This PR adds support for UTF8 encoded strings. Part of the way this was implemented was we no longer assume ascii, rather we assume UTF8. I don't think any issues should come from this but we will see. In the future we might need to look into supporting both some how. This makes this PR 1/2 to fix #152, PR number 2 should come shortly for the v1.x release of this module.

image

This PR also adds the FFI library to luaJIT builds which resolves #159

baidwwy commented 10 months ago

谢谢