From 0c75a2acf592eb4360685375904440f5e6b8125a Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 12 Nov 2019 19:54:50 +0100 Subject: 2019-11-12 18:53:00 --- tex/context/base/mkiv/regi-ini.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tex/context/base/mkiv/regi-ini.lua') diff --git a/tex/context/base/mkiv/regi-ini.lua b/tex/context/base/mkiv/regi-ini.lua index 4b2412ee8..8d4f2bfd5 100644 --- a/tex/context/base/mkiv/regi-ini.lua +++ b/tex/context/base/mkiv/regi-ini.lua @@ -472,17 +472,17 @@ end -- Actually we can have a function returned from the lookup but we don't -- really use this code so I'm in no hurry. -if lua.getcodepage then - local cod, acp, map - function os.tocodepage(name) - if map == nil then - cod, acp = lua.getcodepage() - map = cod and cod ~= 65001 and regimes.toregime - end - return map and map(cod,name) or name - end -else - function os.tocodepage(name) - return name - end -end +-- if os.getcodepage then +-- local cod, acp, map +-- function os.tocodepage(name) +-- if map == nil then +-- cod, acp = os.getcodepage() +-- map = cod and cod ~= 65001 and regimes.toregime +-- end +-- return map and map(cod,name) or name +-- end +-- else +-- function os.tocodepage(name) +-- return name +-- end +-- end -- cgit v1.2.3