[NTG-context] non-ascii chars in cmd.exe (Windows)
Pablo Rodriguez
oinos at gmx.es
Thu Nov 12 22:39:48 CET 2020
Dear list,
I have the following sample:
\starttext
\startluacode
io.write(' Name? ')
document.name = io.read() or ''
\stopluacode
\cldcontext{document.name} is the name.
\stoptext
Running it on Linux, I can input non-ascii characters.
When running in Windows, if the input chars contains a non-ascii one,
document.name is empty.
I have no problem passing arguments from cmd with Unicode characters
(such as in '--arguments="name={αβγ}"'.
I’m using current latest (ConTeXt MkIV 2020.11.08 12:42).
I’m not sure what I am missing or whether I have hit a bug.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
More information about the ntg-context
mailing list