From e08bbb8433eab55d2c135448795e0f06feb903ca Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 29 Dec 2003 07:53:43 +0000 Subject: [PATCH] (send_process): Be sure to set coding->src_multibyte. --- src/process.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 3051b81f7cd..419d108b712 100644 --- a/src/process.c +++ b/src/process.c @@ -4810,6 +4810,7 @@ send_process (proc, buf, len, object) original coding system specified for the current process. */ setup_coding_system (XPROCESS (proc)->encode_coding_system, coding); + coding->src_multibyte = 1; } else { @@ -4825,10 +4826,10 @@ send_process (proc, buf, len, object) send_process (proc, "", 0, Qt); coding->mode &= CODING_MODE_LAST_BLOCK; } - coding->src_multibyte = 0; setup_coding_system (raw_text_coding_system (Vlast_coding_system_used), coding); + coding->src_multibyte = 0; } } coding->dst_multibyte = 0; -- 2.39.2