Eli Zaretskii schrieb am Mi., 30. Nov. 2016 um 17:42 Uhr: > > From: Lars Ingebrigtsen > > Cc: dgutov@yandex.ru, p.stephani2@gmail.com, > kentaro.nakazawa@nifty.com, emacs-devel@gnu.org > > Date: Wed, 30 Nov 2016 17:27:05 +0100 > > > > Eli Zaretskii writes: > > > > >> Yes, this is not a json.el problem at all. It does the correct thing, > > >> and shouldn't be changed. > > > > > > ??? Why should any code care whether a pure-ASCII string is marked as > > > unibyte or as multibyte? Both are "correct". > > > > That's right -- why should any code care? Yet url.el does. > > No, it doesn't, not if the string is plain ASCII. > > But in that case it isn't, it's morally a byte array. What Emacs lacks is good support for byte arrays. For HTTP, process-send-string shouldn't need to deal with encoding or EOL conversion, it should just accept a byte array and send that, unmodified.