<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/textproc/lua-utf8/files, branch trunk</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=trunk</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>2020-07-02T17:13:37Z</updated>
<entry>
<title>textproc: Add lua-utf8</title>
<updated>2020-07-02T17:13:37Z</updated>
<author>
<name>nia</name>
<email>nia@pkgsrc.org</email>
</author>
<published>2020-07-02T17:13:37Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=48c68a136bcfa8e0922782a4b3ecadae2939be7e'/>
<id>urn:sha1:48c68a136bcfa8e0922782a4b3ecadae2939be7e</id>
<content type='text'>
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.</content>
</entry>
</feed>
