GNU bug report logs -
#61726
[PATCH] Eglot: Support positionEncoding capability
Previous Next
Reported by: Augusto Stoffel <arstoffel <at> gmail.com>
Date: Thu, 23 Feb 2023 08:06:01 UTC
Severity: normal
Tags: patch
Done: João Távora <joaotavora <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #158 received at 61726 <at> debbugs.gnu.org (full text, mbox):
> From: Augusto Stoffel <arstoffel <at> gmail.com>
> Cc: joaotavora <at> gmail.com, 61726 <at> debbugs.gnu.org
> Date: Fri, 24 Feb 2023 16:56:57 +0100
>
> On Fri, 24 Feb 2023 at 17:23, Eli Zaretskii wrote:
>
> > It is not more expensive. The underlying functions we call are
> > already capable of producing replacements instead of characters that
> > cannot be encoded in UTF-8. We just don't use those capabilities in
> > json.c because some of us had strong feelings about signaling an error
> > in these situations.
>
> I didn't track down byte-to-position and position-bytes in the C code.
> So you are saying they're as expensive as encode-coding-string? If (and
> only if) this is the case, then I take back my point :-).
I didn't mean those functions, I meant the functions used by json.c to
encode strings.
This bug report was last modified 2 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.