GNU bug report logs -
#24117
25.1; url-http-create-request: Multibyte text in HTTP request
Previous Next
Reported by: Sho Takemori <stakemorii <at> gmail.com>
Date: Sun, 31 Jul 2016 08:28:02 UTC
Severity: normal
Found in version 25.1
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: stakemorii <at> gmail.com, larsi <at> gnus.org, 24117 <at> debbugs.gnu.org, dgutov <at> yandex.ru
> Date: Tue, 09 Aug 2016 10:05:31 +0200
>
> On Di, Aug 09 2016, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> >> From: Andreas Schwab <schwab <at> linux-m68k.org>
> >> Cc: stakemorii <at> gmail.com, larsi <at> gnus.org, 24117 <at> debbugs.gnu.org, dgutov <at> yandex.ru
> >> Date: Mon, 08 Aug 2016 21:16:21 +0200
> >>
> >> On Mo, Aug 08 2016, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >>
> >> >> From: Andreas Schwab <schwab <at> linux-m68k.org>
> >> >> Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, stakemorii <at> gmail.com, 24117 <at> debbugs.gnu.org, dgutov <at> yandex.ru
> >> >> Date: Mon, 08 Aug 2016 19:11:41 +0200
> >> >>
> >> >> On Mo, Aug 08 2016, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >> >>
> >> >> > URLs found in nature are all unibyte strings.
> >> >>
> >> >> http://góogle.com/fóo isn't unibyte.
> >> >
> >> > Every string outside of Emacs is unibyte.
> >>
> >> This string is inside Emacs.
> >
> > Then it should be made unibyte before parsing it.
>
> You can't encode it properly without parsing it first.
You don't say what you meant by "encode properly". It's just a
string, and there are ways to make a string unibyte without any
parsing.
This bug report was last modified 8 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.