[Wayland-bugs] [Bug 768803] Pasting languages other than english results in utf8 code being pasted.

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 14 12:51:59 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768803

--- Comment #6 from Jonas Ådahl <jadahl at gmail.com> ---
Looking at the log output from terminology, it looks like terminology also
requests "text/plain" instead of "text/plain;charset=utf-8". So it gets what it
asks for: some ASCII string. I assume GTK+ tries to be nice and does a
loss-less conversion and translates the code points to \uHEX instead of just
dropping them.

I tested changing weston-terminal to request the text/plain instead of
text/plain;charset=utf-8 and it resulted in the exact same as in the
screenshot: \u00e5 was pasted instead of å. Without that change,
weston-terminal works fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160714/a1a09bad/attachment.html>


More information about the wayland-bugs mailing list