Lua 5.3 compatible pure-Lua UTF-8 implementation.
Currently, lax optional argument introduced in Lua 5.4 is not supported.
- new function
dromozoa.ucd.east_asian_width_ambiguous_half
- new function
dromozoa.ucd.east_asian_width_ambiguous_full
dromozoa-markdown-table now handles backslashes loosely
dromozoa-markdown-table can now output in CSV and TSV formats
dromozoa-markdown-table now supports GitHub Flavored Markdown table
dromozoa-markdown-table no longer treats vertical bars in inline code or inline equations, as well as vertical bars escaped with backslashes, as table borders
- Unicode 15.0
- old luarocks support
- Unicode 13.0
- Lua 5.4 compatible error messages
- new function
dromozoa.ucd.general_category
- new module
dromozoa.ucd
- new module
dromozoa.utf16
- new function
dromozoa.ucd.is_white_space
- 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 Lua 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 |