kaitai-io / kaitai_struct_lua_runtime

Kaitai Struct: runtime for Lua
MIT License
22 stars 14 forks source link

Consider extending UTF8 support #9

Open smarek opened 4 years ago

smarek commented 4 years ago

https://github.com/Stepets/utf8.lua

if the utf8.lua would be added as git dependency (submodule), ci_targets and possibly others need to get updated, to clone recursively the lua runtime repository

smarek commented 4 years ago

@KOLANICH wrote The library you reference is nothing about parsing, it is a regexp library. The right library is likely https://github.com/starwing/luautf8

Cheers, might be, still don't know, what more UTF8/Unicode(#10) you expect of runtime. Could you maybe put up some examples / comparison with different runtime @KOLANICH ?

I've only made this ticket because of you comment https://github.com/kaitai-io/kaitai_struct_lua_runtime/issues/4#issuecomment-671063708 And I've already included the utf8 <-> utf16 <-> unicode module as part of #5 so it even might be already solved