GNU bug report logs - #24239
25.1; Potential regression: Multibyte text in HTTP request

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Mon, 15 Aug 2016 19:27:01 UTC

Severity: normal

Tags: fixed

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 24239 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Damien Cassou <damien <at> cassou.me>, 24239 <at> debbugs.gnu.org
Subject: Re: bug#24239: 25.1; Potential regression: Multibyte text in HTTP
 request
Date: Tue, 16 Aug 2016 11:16:26 +0300
On 08/16/2016 09:23 AM, Damien Cassou wrote:

> - what will happen to my multibyte characters (such as ⇒) that I'm using
>   for months and that worked well with Emacs 24?

Unibyte != ASCII. Use encode-coding-string.

> - where is the behavior change discussed in the Emacs' changelog?

We normally don't mention bug fixes in there. Binding url-request-data 
to a string with multibyte characters never actually worked properly (it 
resulted in a wrong Content-Length value). Some servers may have ignored 
that, but some may have even corrupted data silently.

> - where is the unibyte conversion requirement discussed in the url
>   library documentation?

Patch welcome?




This bug report was last modified 7 years and 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.