After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 790302 - Notification shows Yen-Symbol instead of backslash
Notification shows Yen-Symbol instead of backslash
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: message-tray
3.26.x
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2017-11-13 17:51 UTC by Felix Eckhofer
Modified: 2021-07-05 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Non-working (working?) reproducer (9.00 KB, image/png)
2017-11-13 18:47 UTC, Florian Müllner
Details
Problem as seen on my system (7.30 KB, image/png)
2017-11-14 08:37 UTC, Felix Eckhofer
Details

Description Felix Eckhofer 2017-11-13 17:51:25 UTC
When a notification contains the "meh" emoji ¯\_(ツ)_/¯, the desktop notification actually says ¯¥_(ツ)_/¯.

It appears what is happening is that the character ツ somehow triggers encoding detection and thus the backslash appears as Yen-symbol (see Wikipedia). When the ツ is removed from the message, the backslash is rendered correctly.

To reproduce:

    notify-send Test '¯\\_(ツ)_/¯'
Comment 1 Felix Eckhofer 2017-11-13 17:53:10 UTC
This was originally reported against Signal-Desktop, but it does not happen in other DEs: https://github.com/WhisperSystems/Signal-Desktop/issues/1690
The Wikipedia-Link is: https://en.wikipedia.org/wiki/Backslash#Confusion_in_usage
Comment 2 Mia Nordentoft 2017-11-13 18:38:05 UTC
While I'm not familiar with the inner workings of notification-daemon or any of its dependencies, from a general standpoint, I gather this may be due to the system changing to Shift-JIS which [mis]interprets ASCII backslashes as yen symbols due to Japanese legacy.
Comment 3 Florian Müllner 2017-11-13 18:47:03 UTC
Created attachment 363541 [details]
Non-working (working?) reproducer

(In reply to Felix Eckhofer from comment #0)
> To reproduce:
> 
>     notify-send Test '¯\\_(ツ)_/¯'

This works as expected here, see attached screenshot.
Comment 4 Felix Eckhofer 2017-11-14 08:37:51 UTC
Created attachment 363562 [details]
Problem as seen on my system

Thanks for trying it out and sorry for potentially wasting your time. As you can see, I get a different behavior. Any idea how I could help to diagnose what's going on?
Comment 5 GNOME Infrastructure Team 2021-07-05 14:07:21 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.