emacs-devel
[Top][All Lists]
Advanced

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

Re: Fcall_process: wrong conversion


From: Stefan Monnier
Subject: Re: Fcall_process: wrong conversion
Date: Mon, 15 May 2006 10:25:27 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Fcall_process in callproc.c, which is correspond to `call-process',
> cannot handle UTF-16 (both LE or BE) correctly.  Take a look at line

Actually, it handles it just fine.  The problem is that call-process and
start-process both use the same coding system to encode arguments and to
encode the data sent via stdin to the process, whereas you want them to
be distinct.
If you want them to be distinct, then you need to manually encode your
arguments before passing them to call-process.

I.e. the bug with hexl-mode is in hexl.el.  Please report it separately
indicating how to reproduce the problem (I don't know how to "applying
`hexl-mode' to UTF-16 texts").


        Stefan




reply via email to

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