unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70076: 28.3; xml-escape-string parse issue
@ 2024-03-29 15:44 D. Schmudde
  2024-03-29 18:08 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: D. Schmudde @ 2024-03-29 15:44 UTC (permalink / raw)
  To: 70076; +Cc: Protesilaos Stavrou

Starting with `emacs -Q`:

(require 'xml)
(xml-escape-string "And now it\342\200\231s all this")

The result is: `xml-escape-string: Invalid XML character: 4194274, 
11`

I expect that the string will parse correctly with these escape 
characters. Or is this expectation wrong?

In GNU Emacs 28.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.16.0)
 of 2023-08-25 built on pop-os
Repository revision: dec958258b133b4c21224c594da433919d852800
Repository branch: emacs-28
System Description: Pop!_OS 22.04 LTS

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ 
JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES 
NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF 
TOOLKIT_SCROLL_BARS
X11 XDBE XIM XPM GTK3 ZLIB
Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix



-- 
w: http://schmud.de
e: d@schmud.de
t: @dschmudde





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

end of thread, other threads:[~2024-06-30  6:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-29 15:44 bug#70076: 28.3; xml-escape-string parse issue D. Schmudde
2024-03-29 18:08 ` Eli Zaretskii
2024-03-31 11:15   ` D. Schmudde
2024-03-31 13:21     ` Eli Zaretskii
2024-06-30  6:11       ` Stefan Kangas

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).