summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>2021-11-11 13:54:33 +0000
committerPhilipp Gesang <phg@phi-gamma.net>2021-11-21 19:29:47 +0100
commit86f476f26fe0c2a1f65578eb8c41cb9b187dfc34 (patch)
treeffb812b316185387206b05f3ff16123b72389186
parentbb2d6be07564e77b24e9f44b6243a1c197ada008 (diff)
downloadtransliterator-86f476f26fe0c2a1f65578eb8c41cb9b187dfc34.tar.gz
Bitrot fix due ConTeXt updates
Fixes #1 Reviewed-by: Philipp Gesang <phg@phi-gamma.net>
-rw-r--r--tex/context/third/transliterator/transliterator.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/third/transliterator/transliterator.lua b/tex/context/third/transliterator/transliterator.lua
index 1278aeb..c101ec5 100644
--- a/tex/context/third/transliterator/transliterator.lua
+++ b/tex/context/third/transliterator/transliterator.lua
@@ -17,7 +17,7 @@ translit.methods = translit.methods or { }
translit.deficient_font = "no"
translit.parser_cache = { }
-local utf8 = unicode.utf8
+local utf8 = unicode and unicode.utf8 or utf8
local utf8byte = utf8.byte
local utf8len = utf8.len