Created attachment 1158232 [details] Wrong Unicode in Gnome NetworkManager Settings Description of problem: In Gnome the NetworkManager Settings dialog doesn't show Unicode characters in the currently available WLAN-Hotspots-Names (see attachment "Wrong Unicode in Gnome NetworkManager Settings"). But on the desktop the upper right main menu show the available WLAN-Hotspot-Names with Unicode characters correctly (see attachment "Correctly Unicode in Gnome Available WLan Hotspots"). Version-Release number of selected component (if applicable): Fedora 24 Beta How reproducible: Always Steps to Reproduce: 1. Boot Fedora 24 Beta workstation, Gnome (64 Bit) iso-image 2. go to a place where a WLAN hotspot with a special character is (in my case "WLAN-Rüpert") 3. select the upper right desktop menu and "Select a WLAN network" -> the "ü"-character is correctly shown 4. go to network settings and select the Wi-Fi subpage -> the listed WLANs doesn't show the "ü" correctly -> it is replaced with rectangle replacement-symbol Actual results: special characters (Unicode) doesn't show correctly in the Gnome NetworkManager settings dialog (especially the german "ü") Expected results: special characters (Unicode) should show correctly in the Gnome NetworkManager settings dialog (especially the german "ü") Additional info:
Created attachment 1158233 [details] Correctly Unicode in Gnome Available WLan Hotspots
This seems to belong to the gnome-shell component, reassigning.
(In reply to Beniamino Galvani from comment #2) > This seems to belong to the gnome-shell component, reassigning. Nope, gnome-shell provides the menu in the top bar that displays correctly. The other screenshot is from control-center's network panel.
Note that SSIDs are simply 32-byte arrays and have no inherent character encoding in them, and no way to specify that encoding. So any non-ASCII characters that you see are a best-guess. It looks like control-center's panels/network/net-device-wifi.c should be using nm_utils_ssid_to_utf8() in make_row() instead of nm_utils_escape_ssid() perhaps?
From libnm-utils docs: ---- nm_utils_escape_ssid () This function does a quick printable character conversion of the SSID, simply replacing embedded NULLs and non-printable characters with the hexadecimal representation of that character. Intended for debugging only, should not be used for display of SSIDs. ---- nm_utils_ssid_to_utf8 () Wi-Fi SSIDs are byte arrays, they are not strings. Thus, an SSID may contain embedded NULLs and other unprintable characters. Often it is useful to print the SSID out for debugging purposes, but that should be the only use of this function. Do not use this function for any persistent storage of the SSID, since the printable SSID returned from this function cannot be converted back into the real SSID of the access point. This function does almost everything humanly possible to convert the input into a printable UTF-8 string, using roughly the following procedure: 1) if the input data is already UTF-8 safe, no conversion is performed 2) attempts to get the current system language from the LANG environment variable, and depending on the language, uses a table of alternative encodings to try. For example, if LANG=hu_HU, the table may first try the ISO-8859-2 encoding, and if that fails, try the Windows-1250 encoding. If all fallback encodings fail, replaces non-UTF-8 characters with '?'. 3) If the system language was unable to be determined, falls back to the ISO-8859-1 encoding, then to the Windows-1251 encoding. 4) If step 3 fails, replaces non-UTF-8 characters with '?'. Again, this function should be used for debugging and display purposes only.
Bug fixed upstream, should show up in next update of gnome-control-center to 3.20.2.
This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.