From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Wed, 30 Nov 2016 18:25:09 +0000
> Cc: emacs-devel@gnu.org, kentaro.nakazawa@nifty.com, dgutov@yandex.ru
>
>=C2=A0 > That's right -- why should any code care? Yet url.el do= es.
>
>=C2=A0 No, it doesn't, not if the string is plain ASCII.
>
> But in that case it isn't, it's morally a byte array.
Yes, because the internal representation of characters in Emacs is a
superset of UTF-8.
> What Emacs lacks is good support for byte arrays.
Unibyte strings are byte arrays.=C2=A0 What do you think we lack in that re= gard?
> For HTTP, process-send-string shouldn't need to deal
> with encoding or EOL conversion, it should just accept a byte array an= d send that, unmodified.
I disagree.=C2=A0 Handling unibyte strings is a nuisance, so Emacs allows most applications be oblivious about them, and just handle
human-readable text.