Lua 5.3 compatible pure-Lua UTF-8 implementation.
Currently, lax
optional argument introduced in Lua 5.4 is not supported.
- Unicode 16.0
- Unicode 15.0
- old luarocks support
- maintenance release
- Unicode 13.0
- Lua 5.4 like error messages
- performance improvement
- Unicode 12.1
- Unicode 12.0
- Unicode 11.0
- maintenance release
- new function
dromozoa.ucd.general_category
- new module
dromozoa.ucd
- new module
dromozoa.utf16
- new function
dromozoa.ucd.is_white_space
- maintenance release
- new utility
dromozoa-markdown-table
- new module
dromozoa.ucd.builder
- new function
dromozoa.ucd.east_asian_width
- new function
dromozoa.utf16.decode_surrogate_pair
- table-based performance improvement
- almost compatible argument check
- strict UTF-8 encoding check (do not accept CESU-8)
Function | Improvement Ratio |
---|---|
utf8.char |
9.9 |
utf8.codes |
1.8 |
utf8.codepoint |
1.8 |
utf8.len |
1.5 |
utf8.offset (positive) |
3.3 |
utf8.offset (negative) |
2.3 |
Version | ILP32 | LP64/LLP64 |
---|---|---|
v1.3 | 9KiB | 10KiB |
v1.4 | 232KiB | 274KiB |