[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New jrpc.el JSONRPC library
From: |
Eli Zaretskii |
Subject: |
Re: New jrpc.el JSONRPC library |
Date: |
Sun, 20 May 2018 19:06:00 +0300 |
> From: address@hidden (João Távora)
> Date: Sun, 20 May 2018 16:43:59 +0100
> Cc: Eli Zaretskii <address@hidden>, address@hidden, address@hidden,
> address@hidden
>
> > - I think `string-bytes' isn't guaranteed to return the number of
> > UTF-8 bytes. Rather you should encode the string explicitly to a
> > unibyte string using `encode-coding-string', and then use
> > `no-conversion' for the process coding systems.
> >
> I think Eli has already answered this authoritatively.
Note that my response did assume you will bind coding-system-for-write
to utf-8 around the call to process-send-string, because relying on it
being so by default is asking for trouble.
- Re: New jrpc.el JSONRPC library, (continued)
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/28
- Re: New jrpc.el JSONRPC library, Clément Pit-Claudel, 2018/05/20
- Re: New jrpc.el JSONRPC library, Josh Elsasser, 2018/05/20
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/20
- Re: New jrpc.el JSONRPC library, Josh Elsasser, 2018/05/20
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/20
- Re: New jrpc.el JSONRPC library, Clément Pit-Claudel, 2018/05/20
- Re: New jrpc.el JSONRPC library (Was: [ELPA] New package: eglot), Philipp Stephani, 2018/05/19
- Re: New jrpc.el JSONRPC library (Was: [ELPA] New package: eglot), Eli Zaretskii, 2018/05/19
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/20
- Re: New jrpc.el JSONRPC library,
Eli Zaretskii <=
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/20
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/21
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/21
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/21
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/21
- Re: New jrpc.el JSONRPC library, Aaron Ecay, 2018/05/23
- Re: New jrpc.el JSONRPC library, Stefan Monnier, 2018/05/23
- Re: New jrpc.el JSONRPC library, João Távora, 2018/05/23
- Re: New jrpc.el JSONRPC library, Stefan Monnier, 2018/05/23
- Re: New jrpc.el JSONRPC library, Stefan Monnier, 2018/05/21