A UTF-8 support module for Lua
This module adds UTF-8 support to Lua. It uses data extracted from the [Unicode Character Database](http://www.unicode.org/reports/tr44/), and is tested on Lua 5.2.3, Lua 5.3.0 and LuaJIT. parseucd.lua is a pure Lua script to generate unidata.h, to support conversion of characters and to check the category of a characters. It is compatible with Lua's own string module, and it passes all string and pattern matching tests in the lua test suite. It also add some useful routines for UTF-8 features, including: - a convenient interface to escape Unicode sequences in string. - string insert/remove, since UTF-8 substring extract may expensive. - calculating the Unicode width, which can be useful when implementing a console emulator. - an interface to translate Unicode offset and byte offset.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0.1.5-5.fc41 | - |
Fedora 41 | 0.1.5-5.fc41 | - |
Fedora 40 | 0.1.5-4.fc40 | - |
Fedora 39 | 0.1.5-2.fc39 | - |
You can contact the maintainers of this package via email at
lua-luautf8 dash maintainers at fedoraproject dot org
.