unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request.
       [not found] ` <20160817024159.3D100220155@vcs.savannah.gnu.org>
@ 2016-08-17  3:53   ` Dmitry Gutov
  2016-08-17  4:07     ` Dmitry Gutov
  2016-08-17  7:23     ` Andreas Schwab
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Gutov @ 2016-08-17  3:53 UTC (permalink / raw)
  To: emacs-devel, Eli Zaretskii

On 08/17/2016 05:41 AM, Eli Zaretskii wrote:

> If non-ASCII characters should be part of the URL
> +payload, then `url-request-data' should be encoded to become a unibyte
> +string.

And if not? Multibyte strings with ASCII-only characters are still not 
allowed.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request.
  2016-08-17  3:53   ` [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request Dmitry Gutov
@ 2016-08-17  4:07     ` Dmitry Gutov
  2016-08-17 15:19       ` Eli Zaretskii
  2016-08-17  7:23     ` Andreas Schwab
  1 sibling, 1 reply; 5+ messages in thread
From: Dmitry Gutov @ 2016-08-17  4:07 UTC (permalink / raw)
  To: emacs-devel, Eli Zaretskii

On 08/17/2016 06:53 AM, Dmitry Gutov wrote:
> On 08/17/2016 05:41 AM, Eli Zaretskii wrote:
>
>> If non-ASCII characters should be part of the URL
>> +payload, then `url-request-data' should be encoded to become a unibyte
>> +string.
>
> And if not? Multibyte strings with ASCII-only characters are still not
> allowed.

Or maybe they are. Sorry for the alarm.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request.
  2016-08-17  3:53   ` [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request Dmitry Gutov
  2016-08-17  4:07     ` Dmitry Gutov
@ 2016-08-17  7:23     ` Andreas Schwab
  2016-08-17  7:28       ` Andreas Schwab
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2016-08-17  7:23 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Eli Zaretskii, emacs-devel

On Aug 17 2016, Dmitry Gutov <dgutov@yandex.ru> wrote:

> And if not? Multibyte strings with ASCII-only characters are still not
> allowed.

Multibyte strings by definition contain non-ASCII characters.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request.
  2016-08-17  7:23     ` Andreas Schwab
@ 2016-08-17  7:28       ` Andreas Schwab
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2016-08-17  7:28 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: Eli Zaretskii, emacs-devel

On Aug 17 2016, Andreas Schwab <schwab@suse.de> wrote:

> Multibyte strings by definition contain non-ASCII characters.

Of course, this is wrong, sorry.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request.
  2016-08-17  4:07     ` Dmitry Gutov
@ 2016-08-17 15:19       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2016-08-17 15:19 UTC (permalink / raw)
  To: Dmitry Gutov; +Cc: emacs-devel

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Wed, 17 Aug 2016 07:07:04 +0300
> 
> On 08/17/2016 06:53 AM, Dmitry Gutov wrote:
> > On 08/17/2016 05:41 AM, Eli Zaretskii wrote:
> >
> >> If non-ASCII characters should be part of the URL
> >> +payload, then `url-request-data' should be encoded to become a unibyte
> >> +string.
> >
> > And if not? Multibyte strings with ASCII-only characters are still not
> > allowed.
> 
> Or maybe they are.

Right, because the number of bytes in a pure-ASCII string is identical
to the number of characters, no matter if the string is unibyte or
multibyte.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-08-17 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160817024158.11647.50198@vcs.savannah.gnu.org>
     [not found] ` <20160817024159.3D100220155@vcs.savannah.gnu.org>
2016-08-17  3:53   ` [Emacs-diffs] emacs-25 2e524034: ; * etc/NEWS: Mention incompatible change in url-http-create-request Dmitry Gutov
2016-08-17  4:07     ` Dmitry Gutov
2016-08-17 15:19       ` Eli Zaretskii
2016-08-17  7:23     ` Andreas Schwab
2016-08-17  7:28       ` Andreas Schwab

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).