![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
3 Dec
2019
3 Dec
'19
12:45 p.m.
On 12/3/19 9:17 AM, Hans Hagen wrote:
On 12/3/2019 12:07 AM, Akira Kakuto wrote:
[...] Thus your example does not work unless a system call GetACP() returns CP_UTF8 or 65001, sorry for the inconvenience. in luatex one can check this from lua with
print(lua.getcodepage())
Many thanks for your reply, Hans. I’m afraid I cannot get this working (I get a nil value error). \starttext \startluacode print(lua.getcodepage()) \stopluacode \stoptext Which is the right way to check it? Many thanks for your help, Pablo -- http://www.ousia.tk