./textproc/lua-utf8, UTF-8 module for Lua 5.x

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q3, Version: 0.1.2, Package name: lua53-utf8-0.1.2, Maintainer: nia

This module adds UTF-8 support to Lua. It's compatible with Lua's
own string module, and passes all string and pattern matching tests
in Lua's test suite.

It also adds some useful routines against UTF-8 features:

- a convenient interface to escape Unicode sequences in strings.
- string insert/remove, since UTF-8 substring extract may be expensive.
- calculate Unicode width, useful when implementing e.g. console emulator.
- a useful interface to translate Unicode offsets and byte offsets.


Master sites:

SHA1: 6f3b411cc6d76237fbf9c2427f2c2343d5b99ef8
RMD160: dcedeafb89c94481872f2040c3f5e713b197c3ef
Filesize: 40.223 KB

Version history: (Expand)