diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-11-12 19:54:50 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-11-12 19:54:50 +0100 |
commit | 0c75a2acf592eb4360685375904440f5e6b8125a (patch) | |
tree | 0a23a35bf947d13b3975bacdc27ad1d7edc9454c /tex/context/base/mkiv/regi-ini.lua | |
parent | 5c195236a1a69b23762df71a791e6b4e2c671892 (diff) | |
download | context-0c75a2acf592eb4360685375904440f5e6b8125a.tar.gz |
2019-11-12 18:53:00
Diffstat (limited to 'tex/context/base/mkiv/regi-ini.lua')
-rw-r--r-- | tex/context/base/mkiv/regi-ini.lua | 28 |
1 files changed, 14 insertions, 14 deletions
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 |