summaryrefslogtreecommitdiff
path: root/lualibs-unicode.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-04-05 19:35:09 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-04-05 19:35:09 +0200
commit85dfdde68749113ca30d5a32190dfe34fb7c4da0 (patch)
treebe71ef821cfb3b105b87f2c1a965a0f140316eaf /lualibs-unicode.lua
parentf8fa3ab7afa4746d534a8d660b7d6bf9d28a0e9c (diff)
downloadlualibs-85dfdde68749113ca30d5a32190dfe34fb7c4da0.tar.gz
sync with Context as of 2014-04-05
Diffstat (limited to 'lualibs-unicode.lua')
-rw-r--r--lualibs-unicode.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/lualibs-unicode.lua b/lualibs-unicode.lua
index 6601a4c..be61f3d 100644
--- a/lualibs-unicode.lua
+++ b/lualibs-unicode.lua
@@ -6,7 +6,14 @@ if not modules then modules = { } end modules ['l-unicode'] = {
license = "see context related readme files"
}
--- this module will be reorganized
+-- in lua 5.3:
+
+-- utf8.char(ยทยทยท) : concatinated
+-- utf8.charpatt : "[\0-\x7F\xC2-\xF4][\x80-\xBF]*"
+-- utf8.codes(s) : for p, c in utf8.codes(s) do body end
+-- utf8.codepoint(s [, i [, j]])
+-- utf8.len(s [, i])
+-- utf8.offset(s, n [, i])
-- todo: utf.sub replacement (used in syst-aux)
-- we put these in the utf namespace: