Commit 550c8289 authored by Kenichi Handa's avatar Kenichi Handa

(send_process): Use encode_coding_object instead of

encode_coding_string to perform eol-conversion even if the string
is unibyte.
parent 60afa08d
2009-08-27 Kenichi Handa <handa@m17n.org>
* process.c (send_process): Use encode_coding_object instead of
encode_coding_string to perform eol-conversion even if the string
is unibyte.
* coding.c (encode_coding_utf_16): Fix checking of a Unicode
character.
......
......@@ -5721,7 +5721,8 @@ send_process (proc, buf, len, object)
}
else if (STRINGP (object))
{
encode_coding_string (coding, object, 1);
encode_coding_object (coding, object, 0, 0, SCHARS (object),
SBYTES (object), Qt);
}
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment