[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "args-out-of-range" error when using data from external process on W

From: Eli Zaretskii
Subject: Re: "args-out-of-range" error when using data from external process on Windows
Date: Thu, 18 Apr 2024 09:05:30 +0300

> From: Alexis <flexibeast@gmail.com>
> Date: Thu, 18 Apr 2024 15:39:10 +1000
> * Their system:  Windows 11, using Emacs 29.2 
> * obtained via Scoop package manager; not using WSL 
> * LANG=zh_CN.UTF-8, LC_ALL=zh_CN.UTF-8 
> * current-language-environment: UTF-8 locale-coding-system = cp936 
> * default-process-coding-system = '(utf-8-dos . utf-8-unix) 

Btw: using UTF-8 by default on MS-Windows is not a very good idea,
even with Windows 11 where one can enable UTF-8 support (did they do
it, btw?).  Windows still doesn't support UTF-8 well, even after the
improvements in Windows 11, so the above settings might very well
cause trouble.  Suggest to ask the user to try the same recipe in
"emacs -Q", and if the zh_CN.UTF-8 stuff is set up outside Emacs, to
try without it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]