On 9/15/26 18:08, Jiri Bělka wrote:
> Hi,
> a Brazilian friend was trying my ConTeXt scoop package and we saw a
> failure. The details below which I collected with an AI help, so take
> that into consideration (real username having a Portuguese character is
> replaced with another one which should trigger the same problem)...

Hi Jiri,

I only use Windows at work (mainly, because I have no option). My laptop
runs Linux.

Since Windows is going to have UTF-8 in paths (your issue here), I guess
there are two options to avoid the issue you mention:

* Enable UTF-8 system-wide (as also suggested by the AI).
* Run `chcp 65001` (https://ss64.com/nt/chcp.html) before running
`mtxrun` or `context`.

As far as I can remember, `chcp 65001 && context file.tex` helped me
years ago (under Win10) to avoid some issues with non-ASCII characters
in file paths (directories and/or file names).

As a general rule, after some years of experience with command-line
programs in both Windows and Linux, I think these may be reasonable
suggestions:

* Avoid spaces in paths (directories or file names).
* On Windows, avoid non-ASCII chars for paths.

I occasionaly break these rules, but I know that then I’m on my own.

Just in case it might help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to