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 783142 - Recipes uses non-preferred encoding for displaying “°C” and “°F”
Recipes uses non-preferred encoding for displaying “°C” and “°F”
Status: RESOLVED FIXED
Product: recipes
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Recipes maintainer(s)
Recipes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-05-27 06:39 UTC by Adolfo Jayme
Modified: 2017-05-27 23:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adolfo Jayme 2017-05-27 06:39:26 UTC
In commit c39338398e2629effeabdcc05c91e244836ae7ea, Recipes makes use of two CJK-compatibility characters to represent the symbols for Celsius and Fahrenheit degrees. Those characters, U+2103 and U+2109, are not the preferred encoding to represent the symbols in Unicode text; the preferred way is by using U+00B0 DEGREE SIGN and the ASCII letters C and F. By using the compatibility characters, the application doesn’t look right as Cantarell (as well as most fonts) don’t include glyphs for those code points, so the system has to fall back on DejaVu or another font including them, which looks sloppy due to different font metrics.
Comment 1 Matthias Clasen 2017-05-27 15:26:01 UTC
Thanks for pointing this out. Want to write a patch for it ?
Comment 2 Matthias Clasen 2017-05-27 23:17:42 UTC
Nevermind, I fixed it myself.