X-Loop: help-debbugs@HIDDEN
Subject: bug#79967: 30.1; Pure Gtk Build Uses Wrong Encoding for Sending to Clipboard (Chromium only?)
Resent-From: Stefan Kamphausen <ska2342@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 08 Dec 2025 16:09:02 +0000
Resent-Message-ID: <handler.79967.B.176521008930568 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79967
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 79967 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.176521008930568
(code B ref -1); Mon, 08 Dec 2025 16:09:02 +0000
Received: (at submit) by debbugs.gnu.org; 8 Dec 2025 16:08:09 +0000
Received: from localhost ([127.0.0.1]:47332 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vSdmR-0007ww-7i
for submit <at> debbugs.gnu.org; Mon, 08 Dec 2025 11:08:08 -0500
Received: from lists.gnu.org ([2001:470:142::17]:55822)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <ska2342@HIDDEN>) id 1vSbWe-0007mX-4K
for submit <at> debbugs.gnu.org; Mon, 08 Dec 2025 08:43:42 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <ska2342@HIDDEN>) id 1vSbWV-0002Qn-8K
for bug-gnu-emacs@HIDDEN; Mon, 08 Dec 2025 08:43:31 -0500
Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from <ska2342@HIDDEN>) id 1vSbWR-0006Kn-88
for bug-gnu-emacs@HIDDEN; Mon, 08 Dec 2025 08:43:30 -0500
Received: by mail-lj1-x22a.google.com with SMTP id
38308e7fff4ca-37ba5af5951so42601771fa.1
for <bug-gnu-emacs@HIDDEN>; Mon, 08 Dec 2025 05:43:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1765201405; x=1765806205; darn=gnu.org;
h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
:date:message-id:reply-to;
bh=AJ00A36nPdk/VuolXlpPQduJl30syxhVrglLTsAiCA0=;
b=do3S/8ITSyRuADBnXSLOaoGndbKDvWOAfwE73vWIukmPE6jkuDUYsQq9b4gTX30vfo
c9AnruOoHqfk+Qa2Ke9m1RGWwg5KAyYIYJ+gvIMaElzlQjxcMORYgE5nJBmtIfjJ2wyJ
w0PILBDsU9Ey6/ToSmFsusYSXb1HQXd4qTEnWKwiqB8h/rWmxVUVyKAFzC1kL4hukkC6
rxVMQQgQxmErtgcfspUdXM7OJ31Sfg52P4ISajDDFGwXbArv3LqGOwkoBfM60LBFx5DF
O9JRY6omx8wRdnhN+hsdJrbJSH37VZ1dKsvz76SSYSVXc7npKerMs+4+21VwVy88HOkU
CRyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1765201405; x=1765806205;
h=to:subject:message-id:date:from:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=AJ00A36nPdk/VuolXlpPQduJl30syxhVrglLTsAiCA0=;
b=GQGG3wvv9RX6Po2qDixMKlrtA1hv4eU/sOCgQfHJrHx+kh8sGd+m8KZN4EYmuvf7dV
lfie6VxsDPt8S9TeEzvH0FhKfvxWaJhjYAIOawNktBLRErkdH21JvAnlnTC8UaRXwdek
eQOXXtmM7am32QGgPWN3Ib3V0dsya41gerqDb/Rs/Y5eNw5maCzzxrMlaywI4su6Z5PQ
LLznSE0hirO6zkeSTckm/jyj0xlJ9VY1Dr9Qs90Pnx5c/m2NQWjRkny+Qj+dnChvbdHI
PZqOLKO1PE04AgZZrmBIjmnO1Ab2YUMabVH3PnWhBQIrnXF+NQNA39HywEWQL7tgG9UH
IOMw==
X-Gm-Message-State: AOJu0YxroZV0cPXgR1HLifcmlxZqmQ0curm/7PsPneJ2wjbjMQfbD7Sf
MJ4fNjxEsEW5K+4W76dVYvlP69AceHNbjZkkTchKBFUSPLbk2ND2tCxhrrkXvsgnBS8NwkOPapj
8dgZ1PLX/RqidW8s0YglvdZ9JPKZKYDsaJm/1
X-Gm-Gg: ASbGnctT7w4DWwgYkdWoxrvXK69fDoyKp0T7zMVsA4cY0fm8Vw12Fl0rQfgwCXMI6yN
EFnxasdwJ1jOdLctVVlKx7nlwXXPgZMXcxNIqKIwI8TCessEfzVdIkArwz+dOM1HggoSXzYzwom
3hvmVIFZ0t2KqNJNDRxxze36RR5Ts6AmeaJt7dGR3e3Ozw3bkBhDGAtXoaKGJ1G6MeQR2zDLsMk
3QfYwn3QDJg2y5Z9TIiXrAtBRTjCA96ITiXFPyrzCLJGdpnG/63+O1RtAqDxamWb5oSXC5iafEB
JoHxpg==
X-Google-Smtp-Source: AGHT+IHF1WFsNsAvekjwSxMLeDMdPpWadyERjlth5iyOlMjsxHP50u8GTpencEIdd+LQNzC/RZM/XmEdZ9XLmKfY9Zo=
X-Received: by 2002:a05:651c:221c:b0:36d:4996:1c26 with SMTP id
38308e7fff4ca-37ed1fba4a6mr24817611fa.11.1765201404320; Mon, 08 Dec 2025
05:43:24 -0800 (PST)
MIME-Version: 1.0
From: Stefan Kamphausen <ska2342@HIDDEN>
Date: Mon, 8 Dec 2025 14:43:13 +0100
X-Gm-Features: AQt7F2oK7Ee9NDei2JnE7igmVXW6bvGIHlc6uhRpPKvAZ1ypK5aTg63sFiW5Vxs
Message-ID: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000a96709064570fa02"
Received-SPF: pass client-ip=2a00:1450:4864:20::22a;
envelope-from=ska2342@HIDDEN; helo=mail-lj1-x22a.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Dear Emacs Bug Squashers, My problem is that text with umlauts
pasted /only/ from Emacs /only() to Chromium gets garbled: =?UTF-8?Q?=EF=BB=BF?="=?UTF-8?Q?o=C3=B6_?= =?UTF-8?Q?a=C3=A4_?= =?UTF-8?Q?u=C3=BC?="
becomes "=?UTF-8?Q?o=EF=BF=BD_?= =?UTF-8?Q?a=EF=BF=BD_?= =?UTF-8?Q?u=EF=BF=BD?="
Content analysis details: (1.2 points, 10.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (ska2342[at]gmail.com)
-0.0 SPF_HELO_PASS SPF: HELO matches SPF record
0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (ska2342[at]gmail.com)
1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
no trust
[2001:470:142:0:0:0:0:17 listed in]
[list.dnswl.org]
0.0 HTML_MESSAGE BODY: HTML included in message
X-Mailman-Approved-At: Mon, 08 Dec 2025 11:08:05 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)
--000000000000a96709064570fa02
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Dear Emacs Bug Squashers,
My problem is that text with umlauts pasted /only/ from Emacs /only() to
Chromium gets garbled: =EF=BB=BF"o=C3=B6 a=C3=A4 u=C3=BC" becomes "o=EF=BF=
=BD a=EF=BF=BD u=EF=BF=BD"
- Verified with hexdump(and C-u C-x =3D) that the char in buffer in Emacs
and in the file is actually UTF-8.
- I can paste from Emacs into Firefox, Kate, terminals, Thunderbird,
Libreoffice and others without any problems.
- I can past into Chromium from all those applications without any
problems.
- Yes, Chromium replaces the characters with =EF=BB=BFREPLACEMENT
CHARACTERs. Copy-and-pasting from there continues with the
replacement character.
- If I edit the clipbuffer in the KDE Plasma clipboard util =E2=80=93 e.g. =
add a
space and save the new clip =E2=80=93, I can paste into Chromium without an=
y
problems.
- Verified with emacs -q that it's not connected to my settings.
I posted this on Stackexchange earlier:
https://emacs.stackexchange.com/questions/85255/encoding-issue-with-pgtk-bu=
ild-on-wayland-umlauts-dont-reach-chromium
My environment:
- Emacs 30.1 pgtk (switched to this because of the abysmal performance
of windows resizing on Wayland that literally takes 10 seconds and
longer to change the size of a window.)
- Wayland
- Kubuntu 25.10
- KDE Plasma 6.5.3
- Kernel 6.17.0.6
- Shell env: LANGUAGE=3Dde_DE:en_US
- Shell env: LANG=3Den_US.UTF-8
Kind regards,
Stefan
In GNU Emacs 30.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.50,
cairo version 1.18.4) of 2025-08-28, modified by Debian built on
lcy02-amd64-058
System Description: Ubuntu 25.10
Configured using:
'configure --build x86_64-linux-gnu --prefix=3D/usr
--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
--localstatedir=3D/var/lib --infodir=3D/usr/share/info
--mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
--enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/30.1/site-lisp:/=
usr/local/share/emacs/site-lisp:/usr/share/emacs/30.1/site-lisp:/usr/share/=
emacs/site-lisp
--with-sound=3Dalsa --without-gconf --with-mailutils --build
x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib
--libexecdir=3D/usr/libexec --localstatedir=3D/var/lib
--infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd
--with-pop=3Dyes
--enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/30.1/site-lisp:/=
usr/local/share/emacs/site-lisp:/usr/share/emacs/30.1/site-lisp:/usr/share/=
emacs/site-lisp
--with-sound=3Dalsa --without-gconf --with-mailutils --with-pgtk
'CFLAGS=3D-g -O2 -Werror=3Dimplicit-function-declaration
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=3D/build/emacs-Ci7Thh/emacs-30.1+1=3D.
-fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=3Dformat-security
-fcf-protection
-fdebug-prefix-map=3D/build/emacs-Ci7Thh/emacs-30.1+1=3D/usr/src/emacs-1:30=
.1+1-9ubuntu1
-Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3'
'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB
Important settings:
value of $LC_MONETARY: de_DE.UTF-8
value of $LC_NUMERIC: de_DE.UTF-8
value of $LC_TIME: de_DE.UTF-8
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Markdown
Minor modes in effect:
windmove-mode: t
global-git-commit-mode: t
magit-auto-revert-mode: t
auto-revert-mode: t
server-mode: t
telephone-line-mode: t
TeX-PDF-mode: t
smartparens-global-mode: t
smartparens-mode: t
global-display-line-numbers-mode: t
display-line-numbers-mode: t
projectile-mode: t
which-key-mode: t
global-company-mode: t
company-mode: t
ivy-mode: t
global-hl-line-mode: t
recentf-mode: t
pixel-scroll-precision-mode: t
save-place-mode: t
key-chord-mode: t
override-global-mode: t
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
minibuffer-regexp-mode: t
column-number-mode: t
line-number-mode: t
auto-fill-function: do-auto-fill
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
/home/ska/.emacs.d/elpa/transient-20251108.1336/transient hides
/usr/share/emacs/30.1/lisp/transient
Features:
(shadow sort mail-extr emacsbug windresize windmove tramp-cache shortdoc
help-fns radix-tree goto-addr dired-aux org-clock detour delsel dabbrev
mule-util cal-move inf-groovy flyspell rng-xsd xsd-regexp rng-cmpct
rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt
rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util
nxml-enc xmltok js c-ts-common cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ffap vc-hg vc-bzr
vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc-git magit-extras
emacsql-sqlite-builtin face-remap forge-repos forge-tablist forge-topics
forge-commands forge-semi forge-bitbucket forge-gogs forge-gitea
forge-gitlab forge-github forge-client forge-forgejo forge-notify
forge-revnote forge-pullreq forge-issue forge-discussion forge-topic
yaml eieio-custom bug-reference forge-post forge-repo forge forge-core
ghub-legacy ghub-graphql treepy gsexp ghub url-http url-gw nsm url-auth
let-alist forge-db closql emacsql-sqlite emacsql emacsql-compiler
eieio-base magit-bookmark magit-submodule magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func magit-diff smerge-mode diff diff-mode track-changes
git-commit log-edit pcvs-util add-log magit-core magit-margin
magit-transient rect misearch multi-isearch oc-basic org-element
org-persist org-id org-refile org-element-ast inline avl-tree ol-eww eww
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum
gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail
mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail
yank-media rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
mail-utils range mm-util mail-prsvr ol-docview doc-view jka-compr
image-mode exif dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi bookmark magit-autorevert autorevert filenotify
magit-process with-editor server magit-mode benchmark magit-git
magit-base magit-section cursor-sensor llama cus-start telephone-line
telephone-line-segments telephone-line-separators telephone-line-utils
skeleton company-auctex yasnippet latex latex-flymake flymake tex-ispell
tex-style tex dbus crm texmathp auctex web-mode disp-table sgml-mode
facemenu python cider tramp-sh cider-debug cider-browse-ns cider-mode
cider-xref-backend cider-find cider-completion cider-profile
cider-inspector cider-eval cider-jar arc-mode archive-mode
cider-repl-history pulse derived cider-repl cider-resolve cider-test
cider-overlays cider-stacktrace cider-doc cider-browse-spec
cider-clojuredocs cider-eldoc cider-docstring shr pixel-fill kinsoku
url-file puny svg xml dom cider-client cider-common
cider-completion-context cider-connection cider-popup sesman-browser
nrepl-client tramp trampver tramp-integration tramp-message tramp-compat
xdg shell parse-time iso8601 tramp-loaddefs sesman queue nrepl-dict
cider-util spinner parseedn parseclj-parser parseclj-lex parseclj-alist
clojure-mode lisp-mnt align imenu conf-mode terraform-mode hcl-mode
groovy-mode s yaml-mode markdown-mode color command-log-mode smartparens
loadhist dash restclient view cap-words superword subword
display-line-numbers org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src sh-script smie treesit ob-comint org-pcomplete
pcomplete org-list org-footnote org-faces org-entities time-date
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu
calendar cal-loaddefs org-version org-compat org-macs projectile
which-key posframe graphviz-dot-mode thingatpt company-oddmuse
company-keywords company-etags etags fileloop generator xref project
company-gtags company-dabbrev-code company-dabbrev company-files
company-clang company-capf company-cmake company-semantic
company-template company-bbdb company rg files-x vc vc-dispatcher
rg-info-hack rg-menu transient format-spec cond-let compat rg-ibuffer
rg-result wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer
ibuffer-loaddefs grep compile text-property-search comint ansi-osc
ansi-color ivy ivy-faces colir sync-recentf advice executable time-stamp
hl-line ispell autoinsert recentf tree-widget mtorus cl chb-util cdargs
highlight-context-line finder-inf eldoc-box edmacro kmacro pixel-scroll
cua-base ring saveplace modus-themes use-package-chords bind-chord
key-chord comp comp-cstr warnings comp-run comp-common rx use-package
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-ensure local cl-extra help-mode use-package-core
user cus-edit pp cus-load wid-edit cider-autoloads
clojure-mode-autoloads command-log-mode-autoloads
company-auctex-autoloads auctex-autoloads tex-site company-autoloads
deadgrep-autoloads detour-autoloads eldoc-box-autoloads forge-autoloads
closql-autoloads emacsql-autoloads ghub-autoloads
graphviz-dot-mode-autoloads groovy-mode-autoloads helm-autoloads
helm-core-autoloads async-autoloads highlight-context-line-autoloads
lsp-ivy-autoloads ivy-autoloads lsp-ui-autoloads lsp-mode-autoloads
ht-autoloads f-autoloads lv-autoloads magit-autoloads pcase
magit-section-autoloads llama-autoloads markdown-mode-autoloads
modus-themes-autoloads mood-line-autoloads nimbus-theme-autoloads
parseedn-autoloads parseclj-autoloads posframe-autoloads
projectile-autoloads queue-autoloads restclient-autoloads rg-autoloads
s-autoloads sesman-autoloads smartparens-autoloads spinner-autoloads
sync-recentf-autoloads telephone-line-autoloads terraform-mode-autoloads
dash-autoloads hcl-mode-autoloads transient-autoloads cond-let-autoloads
treepy-autoloads use-package-chords-autoloads bind-chord-autoloads
key-chord-autoloads web-mode-autoloads wfnames-autoloads wgrep-autoloads
windresize-autoloads info with-editor-autoloads yaml-autoloads
yaml-mode-autoloads yasnippet-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win touch-screen pgtk-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
lcms2 multi-tty move-toolbar make-network-process native-compile emacs)
--=20
a blessed +23 regexp of confusion (weapon in hand)
You hit. The balanced s-expression collapses.
--000000000000a96709064570fa02
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Dear Emacs Bug=
Squashers,</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">My problem is =
that text with umlauts pasted /only/ from Emacs /only() to</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Chromium gets =
garbled: =EF=BB=BF"o=C3=B6 a=C3=A4 u=C3=BC" becomes "o=EF=BF=
=BD a=EF=BF=BD u=EF=BF=BD" </p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Verified wit=
h hexdump(and C-u C-x =3D) that the char in buffer in Emacs</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> and in the=
file is actually UTF-8.</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- I can paste =
from Emacs into Firefox, Kate, terminals, Thunderbird,</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> Libreoffic=
e and others without any problems.</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- I can past i=
nto Chromium from all those applications without any</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> problems.<=
/p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Yes, Chromiu=
m replaces the characters with =EF=BB=BFREPLACEMENT</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> CHARACTERs=
. Copy-and-pasting from there continues with the</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> replacemen=
t character. </p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- If I edit th=
e clipbuffer in the KDE Plasma clipboard util =E2=80=93 e.g. add a</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> space and =
save the new clip =E2=80=93, I can paste into Chromium without any</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> problems.<=
/p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Verified wit=
h emacs -q that it's not connected to my settings.</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">I posted this =
on Stackexchange earlier:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><a href=3D"htt=
ps://emacs.stackexchange.com/questions/85255/encoding-issue-with-pgtk-build=
-on-wayland-umlauts-dont-reach-chromium">https://emacs.stackexchange.com/qu=
estions/85255/encoding-issue-with-pgtk-build-on-wayland-umlauts-dont-reach-=
chromium</a></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">My environment=
:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Emacs 30.1 p=
gtk (switched to this because of the abysmal performance</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> of windows=
resizing on Wayland that literally takes 10 seconds and</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> longer to =
change the size of a window.) </p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Wayland</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Kubuntu 25.1=
0</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- KDE Plasma 6=
.5.3</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Kernel 6.17.=
0.6</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Shell env: L=
ANGUAGE=3Dde_DE:en_US</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">- Shell env: L=
ANG=3Den_US.UTF-8</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Kind regards,<=
/p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Stefan</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">In GNU Emacs 3=
0.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.50,</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> cairo version=
1.18.4) of 2025-08-28, modified by Debian built on</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> lcy02-amd64-0=
58</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">System Descrip=
tion: Ubuntu 25.10</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Configured usi=
ng:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> 'configur=
e --build x86_64-linux-gnu --prefix=3D/usr</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --sharedstate=
dir=3D/var/lib --libexecdir=3D/usr/libexec</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --localstated=
ir=3D/var/lib --infodir=3D/usr/share/info</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --mandir=3D/u=
sr/share/man --with-libsystemd --with-pop=3Dyes</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --enable-loca=
llisppath=3D/etc/emacs:/usr/local/share/emacs/30.1/site-lisp:/usr/local/sha=
re/emacs/site-lisp:/usr/share/emacs/30.1/site-lisp:/usr/share/emacs/site-li=
sp</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --with-sound=
=3Dalsa --without-gconf --with-mailutils --build</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> x86_64-linux-=
gnu --prefix=3D/usr --sharedstatedir=3D/var/lib</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --libexecdir=
=3D/usr/libexec --localstatedir=3D/var/lib</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --infodir=3D/=
usr/share/info --mandir=3D/usr/share/man --with-libsystemd</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --with-pop=3D=
yes</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --enable-loca=
llisppath=3D/etc/emacs:/usr/local/share/emacs/30.1/site-lisp:/usr/local/sha=
re/emacs/site-lisp:/usr/share/emacs/30.1/site-lisp:/usr/share/emacs/site-li=
sp</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> --with-sound=
=3Dalsa --without-gconf --with-mailutils --with-pgtk</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> 'CFLAGS=
=3D-g -O2 -Werror=3Dimplicit-function-declaration</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -fno-omit-fra=
me-pointer -mno-omit-leaf-frame-pointer</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -ffile-prefix=
-map=3D/build/emacs-Ci7Thh/emacs-30.1+1=3D. -fstack-protector-strong</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -fstack-clash=
-protection -Wformat -Werror=3Dformat-security</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -fcf-protecti=
on</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -fdebug-prefi=
x-map=3D/build/emacs-Ci7Thh/emacs-30.1+1=3D/usr/src/emacs-1:30.1+1-9ubuntu1=
</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> -Wall' &#=
39;CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3'</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> 'LDFLAGS=
=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Configured fea=
tures:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ACL CAIRO DBUS=
FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">LCMS2 LIBOTF L=
IBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">INOTIFY PDUMPE=
R PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">TOOLKIT_SCROLL=
_BARS TREE_SITTER WEBP XIM GTK3 ZLIB</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Important sett=
ings:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> value of $LC=
_MONETARY: de_DE.UTF-8</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> value of $LC=
_NUMERIC: de_DE.UTF-8</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> value of $LC=
_TIME: de_DE.UTF-8</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> value of $LA=
NG: de_DE.UTF-8</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> locale-codin=
g-system: utf-8-unix</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Major mode: Ma=
rkdown</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Minor modes in=
effect:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> windmove-mod=
e: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-git-c=
ommit-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> magit-auto-r=
evert-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> auto-revert-=
mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> server-mode:=
t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> telephone-li=
ne-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> TeX-PDF-mode=
: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> smartparens-=
global-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> smartparens-=
mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-displ=
ay-line-numbers-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> display-line=
-numbers-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> projectile-m=
ode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> which-key-mo=
de: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-compa=
ny-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> company-mode=
: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> ivy-mode: t<=
/p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-hl-li=
ne-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> recentf-mode=
: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> pixel-scroll=
-precision-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> save-place-m=
ode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> key-chord-mo=
de: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> override-glo=
bal-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> tooltip-mode=
: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-eldoc=
-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> eldoc-mode: =
t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> show-paren-m=
ode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> electric-ind=
ent-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> mouse-wheel-=
mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> menu-bar-mod=
e: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> file-name-sh=
adow-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> global-font-=
lock-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> font-lock-mo=
de: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> minibuffer-r=
egexp-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> column-numbe=
r-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> line-number-=
mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> auto-fill-fu=
nction: do-auto-fill</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> transient-ma=
rk-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> auto-composi=
tion-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> auto-encrypt=
ion-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"> auto-compres=
sion-mode: t</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Load-path shad=
ows:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">/home/ska/.ema=
cs.d/elpa/transient-20251108.1336/transient hides /usr/share/emacs/30.1/lis=
p/transient</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">Features:</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">(shadow sort m=
ail-extr emacsbug windresize windmove tramp-cache shortdoc</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">help-fns radix=
-tree goto-addr dired-aux org-clock detour delsel dabbrev</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">mule-util cal-=
move inf-groovy flyspell rng-xsd xsd-regexp rng-cmpct</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">rng-nxml rng-v=
alid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">rng-util rng-p=
ttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">nxml-enc xmlto=
k js c-ts-common cc-mode cc-fonts cc-guess cc-menus</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cc-cmds cc-sty=
les cc-align cc-engine cc-vars cc-defs ffap vc-hg vc-bzr</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">vc-src vc-sccs=
vc-svn vc-cvs vc-rcs log-view vc-git magit-extras</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">emacsql-sqlite=
-builtin face-remap forge-repos forge-tablist forge-topics</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">forge-commands=
forge-semi forge-bitbucket forge-gogs forge-gitea</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">forge-gitlab f=
orge-github forge-client forge-forgejo forge-notify</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">forge-revnote =
forge-pullreq forge-issue forge-discussion forge-topic</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">yaml eieio-cus=
tom bug-reference forge-post forge-repo forge forge-core</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ghub-legacy gh=
ub-graphql treepy gsexp ghub url-http url-gw nsm url-auth</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">let-alist forg=
e-db closql emacsql-sqlite emacsql emacsql-compiler</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">eieio-base mag=
it-bookmark magit-submodule magit-blame magit-stash</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-reflog m=
agit-bisect magit-push magit-pull magit-fetch magit-clone</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-remote m=
agit-commit magit-sequence magit-notes magit-worktree</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-tag magi=
t-merge magit-branch magit-reset magit-files magit-refs</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-status m=
agit magit-repos magit-apply magit-wip magit-log</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">which-func mag=
it-diff smerge-mode diff diff-mode track-changes</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">git-commit log=
-edit pcvs-util add-log magit-core magit-margin</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-transien=
t rect misearch multi-isearch oc-basic org-element</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">org-persist or=
g-id org-refile org-element-ast inline avl-tree ol-eww eww</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">url-queue mm-u=
rl ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">gnus-art mm-uu=
mml2015 mm-view mml-smime smime gnutls dig gnus-sum</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">gnus-group gnu=
s-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">mail-source ut=
f7 nnoo gnus-spec gnus-int gnus-range message sendmail</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">yank-media rfc=
822 mml mml-sec epa epg rfc6068 epg-config mm-decode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">mm-bodies mm-e=
ncode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">mailabbrev gmm=
-utils mailheader gnus-win gnus nnheader gnus-util</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">mail-utils ran=
ge mm-util mail-prsvr ol-docview doc-view jka-compr</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">image-mode exi=
f dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ol-doi org-lin=
k-doi bookmark magit-autorevert autorevert filenotify</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-process =
with-editor server magit-mode benchmark magit-git</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-base mag=
it-section cursor-sensor llama cus-start telephone-line</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">telephone-line=
-segments telephone-line-separators telephone-line-utils</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">skeleton compa=
ny-auctex yasnippet latex latex-flymake flymake tex-ispell</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">tex-style tex =
dbus crm texmathp auctex web-mode disp-table sgml-mode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">facemenu pytho=
n cider tramp-sh cider-debug cider-browse-ns cider-mode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-xref-bac=
kend cider-find cider-completion cider-profile</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-inspecto=
r cider-eval cider-jar arc-mode archive-mode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-repl-his=
tory pulse derived cider-repl cider-resolve cider-test</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-overlays=
cider-stacktrace cider-doc cider-browse-spec</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-clojured=
ocs cider-eldoc cider-docstring shr pixel-fill kinsoku</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">url-file puny =
svg xml dom cider-client cider-common</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-completi=
on-context cider-connection cider-popup sesman-browser</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">nrepl-client t=
ramp trampver tramp-integration tramp-message tramp-compat</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">xdg shell pars=
e-time iso8601 tramp-loaddefs sesman queue nrepl-dict</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cider-util spi=
nner parseedn parseclj-parser parseclj-lex parseclj-alist</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">clojure-mode l=
isp-mnt align imenu conf-mode terraform-mode hcl-mode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">groovy-mode s =
yaml-mode markdown-mode color command-log-mode smartparens</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">loadhist dash =
restclient view cap-words superword subword</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">display-line-n=
umbers org ob ob-tangle ob-ref ob-lob ob-table ob-exp</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">org-macro org-=
src sh-script smie treesit ob-comint org-pcomplete</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">pcomplete org-=
list org-footnote org-faces org-entities time-date</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">noutline outli=
ne ob-emacs-lisp ob-core ob-eval org-cycle org-table ol</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">org-fold org-f=
old-core org-keys oc org-loaddefs find-func cal-menu</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">calendar cal-l=
oaddefs org-version org-compat org-macs projectile</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">which-key posf=
rame graphviz-dot-mode thingatpt company-oddmuse</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">company-keywor=
ds company-etags etags fileloop generator xref project</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">company-gtags =
company-dabbrev-code company-dabbrev company-files</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">company-clang =
company-capf company-cmake company-semantic</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">company-templa=
te company-bbdb company rg files-x vc vc-dispatcher</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">rg-info-hack r=
g-menu transient format-spec cond-let compat rg-ibuffer</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">rg-result wgre=
p-rg wgrep rg-history rg-header ibuf-ext ibuffer</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ibuffer-loadde=
fs grep compile text-property-search comint ansi-osc</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ansi-color ivy=
ivy-faces colir sync-recentf advice executable time-stamp</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">hl-line ispell=
autoinsert recentf tree-widget mtorus cl chb-util cdargs</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">highlight-cont=
ext-line finder-inf eldoc-box edmacro kmacro pixel-scroll</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">cua-base ring =
saveplace modus-themes use-package-chords bind-chord</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">key-chord comp=
comp-cstr warnings comp-run comp-common rx use-package</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">use-package-de=
light use-package-diminish use-package-bind-key bind-key</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">easy-mmode use=
-package-ensure local cl-extra help-mode use-package-core</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">user cus-edit =
pp cus-load wid-edit cider-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">clojure-mode-a=
utoloads command-log-mode-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">company-auctex=
-autoloads auctex-autoloads tex-site company-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">deadgrep-autol=
oads detour-autoloads eldoc-box-autoloads forge-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">closql-autoloa=
ds emacsql-autoloads ghub-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">graphviz-dot-m=
ode-autoloads groovy-mode-autoloads helm-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">helm-core-auto=
loads async-autoloads highlight-context-line-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">lsp-ivy-autolo=
ads ivy-autoloads lsp-ui-autoloads lsp-mode-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">ht-autoloads f=
-autoloads lv-autoloads magit-autoloads pcase</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">magit-section-=
autoloads llama-autoloads markdown-mode-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">modus-themes-a=
utoloads mood-line-autoloads nimbus-theme-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">parseedn-autol=
oads parseclj-autoloads posframe-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">projectile-aut=
oloads queue-autoloads restclient-autoloads rg-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">s-autoloads se=
sman-autoloads smartparens-autoloads spinner-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">sync-recentf-a=
utoloads telephone-line-autoloads terraform-mode-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">dash-autoloads=
hcl-mode-autoloads transient-autoloads cond-let-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">treepy-autoloa=
ds use-package-chords-autoloads bind-chord-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">key-chord-auto=
loads web-mode-autoloads wfnames-autoloads wgrep-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">windresize-aut=
oloads info with-editor-autoloads yaml-autoloads</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">yaml-mode-auto=
loads yasnippet-autoloads package browse-url url url-proxy</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">url-privacy ur=
l-expand url-methods url-history url-cookie</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">generate-lisp-=
file url-domsuf url-util mailcap url-handlers url-parse</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">auth-source cl=
-seq eieio eieio-core cl-macs icons password-cache json</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">subr-x map byt=
e-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">rmc iso-transl=
tooltip cconv eldoc paren electric uniquify ediff-hook</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">vc-hooks lisp-=
float-type elisp-mode mwheel term/pgtk-win pgtk-win</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">term/common-wi=
n touch-screen pgtk-dnd tool-bar dnd fontset image</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">regexp-opt fri=
nge tabulated-list replace newcomment text-mode lisp-mode</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">prog-mode regi=
ster page tab-bar menu-bar rfn-eshadow isearch easymenu</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">timer select s=
croll-bar mouse jit-lock font-lock syntax font-core</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">term/tty-color=
s frame minibuffer nadvice seq simple cl-generic</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">indonesian phi=
lippine cham georgian utf-8-lang misc-lang vietnamese</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">tibetan thai t=
ai-viet lao korean japanese eucjp-ms cp51932 hebrew greek</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">romanian slova=
k czech european ethiopic indian cyrillic chinese</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">composite emoj=
i-zwj charscript charprop case-table epa-hook</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">jka-cmpr-hook =
help abbrev obarray oclosure cl-preloaded button loaddefs</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">theme-loaddefs=
faces cus-face macroexp files window text-properties</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">overlay sha1 m=
d5 base64 format env code-pages mule custom widget keymap</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">hashtable-prin=
t-readable backquote threads dbusbind inotify</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">dynamic-settin=
g system-font-setting font-render-setting cairo gtk pgtk</p>
<p style=3D"margin:0px;text-indent:0px;white-space:pre-wrap">lcms2 multi-tt=
y move-toolbar make-network-process native-compile emacs)</p><br clear=3D"a=
ll"></div><br><span class=3D"gmail_signature_prefix">-- </span><br><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><pre cols=3D"72"><font size=3D"2">a blessed +23 regexp of confu=
sion (weapon in hand)
You hit. The balanced s-expression collapses.</font></pre>
</div></div></div>
--000000000000a96709064570fa02--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Stefan Kamphausen <ska2342@HIDDEN> Subject: bug#79967: Acknowledgement (30.1; Pure Gtk Build Uses Wrong Encoding for Sending to Clipboard (Chromium only?)) Message-ID: <handler.79967.B.176521008930568.ack <at> debbugs.gnu.org> References: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN> X-Gnu-PR-Message: ack 79967 X-Gnu-PR-Package: emacs Reply-To: 79967 <at> debbugs.gnu.org Date: Mon, 08 Dec 2025 16:09:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 79967 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 79967: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79967 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#79967: 30.1; Pure Gtk Build Uses Wrong Encoding for Sending to Clipboard (Chromium only?)
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 08 Dec 2025 16:39:02 +0000
Resent-Message-ID: <handler.79967.B79967.17652119096250 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79967
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Kamphausen <ska2342@HIDDEN>, Robert Pluim <rpluim@HIDDEN>
Cc: Po Lu <luangruo@HIDDEN>, 79967 <at> debbugs.gnu.org
Received: via spool by 79967-submit <at> debbugs.gnu.org id=B79967.17652119096250
(code B ref 79967); Mon, 08 Dec 2025 16:39:02 +0000
Received: (at 79967) by debbugs.gnu.org; 8 Dec 2025 16:38:29 +0000
Received: from localhost ([127.0.0.1]:47554 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1vSeFo-0001cj-Ka
for submit <at> debbugs.gnu.org; Mon, 08 Dec 2025 11:38:28 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:55260)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
id 1vSeFm-0001cT-FB; Mon, 08 Dec 2025 11:38:27 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1vSeFh-0002eC-2P; Mon, 08 Dec 2025 11:38:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
Date; bh=bLpLonqvy7rcqLxmOrq6x7HsxyqZI3mlR2iFv/4p6bk=; b=NsK4VFW+51Lz7W+7+Lyv
oR750XLPRPF/uyWS4xR+dk3/oWxjMxCla0Nlvdcru94Zf1BPmhTfhA616xTX/d8Mzim3u1ZbO67/j
UspD90wWKJoaMCrlfgO8aCnHM9LWQkFAhEengyj6Piimnew3nVGovi1qCs/WB+TUKUNOIvNwGFen4
o0PfJvhGZbJVEJyVIMNY8gjiXWzScEuIcImRMxj4+xYSN/4Oba3ybeVWtfkZ8n/GVK26ZE4lIrwBx
v3WUuEZHhgApmPcr9krWH+DNens13JZ5muyULSm8Ay+nZ7uWQFane63wt/A9giprU1mqubPlFLVNZ
OKb9635EZ9Z3iw==;
Date: Mon, 08 Dec 2025 18:38:14 +0200
Message-Id: <86ms3tszd5.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN>
(message from Stefan Kamphausen on Mon, 8 Dec 2025 14:43:13 +0100)
References: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
merge 79967 79966
thanks
> From: Stefan Kamphausen <ska2342@HIDDEN>
> Date: Mon, 8 Dec 2025 14:43:13 +0100
>
> Dear Emacs Bug Squashers,
>
> My problem is that text with umlauts pasted /only/ from Emacs /only() to
> Chromium gets garbled: "oö aä uü" becomes "o� a� u�"
> - Verified with hexdump(and C-u C-x =) that the char in buffer in Emacs
> and in the file is actually UTF-8.
>
> - I can paste from Emacs into Firefox, Kate, terminals, Thunderbird,
> Libreoffice and others without any problems.
>
> - I can past into Chromium from all those applications without any
> problems.
>
> - Yes, Chromium replaces the characters with REPLACEMENT
> CHARACTERs. Copy-and-pasting from there continues with the
> replacement character.
>
> - If I edit the clipbuffer in the KDE Plasma clipboard util – e.g. add a
> space and save the new clip –, I can paste into Chromium without any
> problems.
>
> - Verified with emacs -q that it's not connected to my settings.
This seems a duplicate of bug#79966, so I'm merging them.
>
> I posted this on Stackexchange earlier:
> https://emacs.stackexchange.com/questions/85255/encoding-issue-with-pgtk-build-on-wayland-umlauts-dont-reach-chromium
>
>
> My environment:
>
> - Emacs 30.1 pgtk (switched to this because of the abysmal performance
> of windows resizing on Wayland that literally takes 10 seconds and
> longer to change the size of a window.)
>
> - Wayland
>
> - Kubuntu 25.10
>
> - KDE Plasma 6.5.3
>
> - Kernel 6.17.0.6
>
> - Shell env: LANGUAGE=de_DE:en_US
>
> - Shell env: LANG=en_US.UTF-8
Thanks.
Received: (at control) by debbugs.gnu.org; 8 Dec 2025 16:38:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 08 11:38:30 2025 Received: from localhost ([127.0.0.1]:47556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1vSeFq-0001cv-3e for submit <at> debbugs.gnu.org; Mon, 08 Dec 2025 11:38:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55260) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1vSeFm-0001cT-FB; Mon, 08 Dec 2025 11:38:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1vSeFh-0002eC-2P; Mon, 08 Dec 2025 11:38:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bLpLonqvy7rcqLxmOrq6x7HsxyqZI3mlR2iFv/4p6bk=; b=NsK4VFW+51Lz7W+7+Lyv oR750XLPRPF/uyWS4xR+dk3/oWxjMxCla0Nlvdcru94Zf1BPmhTfhA616xTX/d8Mzim3u1ZbO67/j UspD90wWKJoaMCrlfgO8aCnHM9LWQkFAhEengyj6Piimnew3nVGovi1qCs/WB+TUKUNOIvNwGFen4 o0PfJvhGZbJVEJyVIMNY8gjiXWzScEuIcImRMxj4+xYSN/4Oba3ybeVWtfkZ8n/GVK26ZE4lIrwBx v3WUuEZHhgApmPcr9krWH+DNens13JZ5muyULSm8Ay+nZ7uWQFane63wt/A9giprU1mqubPlFLVNZ OKb9635EZ9Z3iw==; Date: Mon, 08 Dec 2025 18:38:14 +0200 Message-Id: <86ms3tszd5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Stefan Kamphausen <ska2342@HIDDEN>, Robert Pluim <rpluim@HIDDEN> In-Reply-To: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN> (message from Stefan Kamphausen on Mon, 8 Dec 2025 14:43:13 +0100) Subject: Re: bug#79967: 30.1; Pure Gtk Build Uses Wrong Encoding for Sending to Clipboard (Chromium only?) References: <CA+0DxOi5Gh7YvSFdy6few89ek7f6VUMzqhOBUoOYJrD-+-mAGw@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: Po Lu <luangruo@HIDDEN>, 79967 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 79967 79966 thanks > From: Stefan Kamphausen <ska2342@HIDDEN> > Date: Mon, 8 Dec 2025 14:43:13 +0100 > > Dear Emacs Bug Squashers, > > My problem is that text with umlauts pasted /only/ from Emacs /only() to > Chromium gets garbled: "oö aä uü" becomes "o� a� u�" > - Verified with hexdump(and C-u C-x =) that the char in buffer in Emacs > and in the file is actually UTF-8. > > - I can paste from Emacs into Firefox, Kate, terminals, Thunderbird, > Libreoffice and others without any problems. > > - I can past into Chromium from all those applications without any > problems. > > - Yes, Chromium replaces the characters with REPLACEMENT > CHARACTERs. Copy-and-pasting from there continues with the > replacement character. > > - If I edit the clipbuffer in the KDE Plasma clipboard util – e.g. add a > space and save the new clip –, I can paste into Chromium without any > problems. > > - Verified with emacs -q that it's not connected to my settings. This seems a duplicate of bug#79966, so I'm merging them. > > I posted this on Stackexchange earlier: > https://emacs.stackexchange.com/questions/85255/encoding-issue-with-pgtk-build-on-wayland-umlauts-dont-reach-chromium > > > My environment: > > - Emacs 30.1 pgtk (switched to this because of the abysmal performance > of windows resizing on Wayland that literally takes 10 seconds and > longer to change the size of a window.) > > - Wayland > > - Kubuntu 25.10 > > - KDE Plasma 6.5.3 > > - Kernel 6.17.0.6 > > - Shell env: LANGUAGE=de_DE:en_US > > - Shell env: LANG=en_US.UTF-8 Thanks.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.