[tex-live] TL2018/runscript: Problem with files with non-ASCII path on Windows; TeXworks is affected

Akira Kakuto kakuto at fuk.kindai.ac.jp
Wed May 9 06:24:12 CEST 2018


Dear ARATA Mizuki, 

> # A Workaround
>
> Setting LC_CTYPE equal to the system encoding (CP932 on Japanese Windows) fixes the problem. 
> This is done by `setlocale(LC_CTYPE, "")` in C and `os.setlocale("", "ctype")` in Lua.
>
> In short: Put the line
>
> os.setlocale("", "ctype")
>
> at the beginning of runscript.tlu.

Thanks for your detailed reports, and your solution.
In r47644, I put os.setlocale("", "ctype") at the beginning of the function MAIN_CHUNK()
in runscript.tlu. If it does not work, please report again.

Best,
Akira




More information about the tex-live mailing list