summaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex')
-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