summaryrefslogtreecommitdiff
path: root/tex/context/base/l-unicode.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/l-unicode.lua')
-rw-r--r--tex/context/base/l-unicode.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/l-unicode.lua b/tex/context/base/l-unicode.lua
index b3a4c35e6..53a23260a 100644
--- a/tex/context/base/l-unicode.lua
+++ b/tex/context/base/l-unicode.lua
@@ -883,7 +883,7 @@ local p_utf16_to_utf8_be = C(1) * C(1) /function(left,right)
return utfchar(now)
elseif now >= 0xD800 and now <= 0xDBFF then
more = now
- -- return ""
+ return "" -- else the c's end up in the stream
else
return utfchar(now)
end
@@ -897,7 +897,7 @@ local p_utf16_to_utf8_le = C(1) * C(1) /function(right,left)
return utfchar(now)
elseif now >= 0xD800 and now <= 0xDBFF then
more = now
- -- return ""
+ return "" -- else the c's end up in the stream
else
return utfchar(now)
end