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 772218 - Take advantage of Unicode
Take advantage of Unicode
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks: 772263
 
 
Reported: 2016-09-29 22:58 UTC by Piotr Drąg
Modified: 2017-02-16 01:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use Unicode in translatable strings (5.89 KB, patch)
2016-09-29 22:58 UTC, Piotr Drąg
none Details | Review
Use Unicode in translatable strings (5.94 KB, patch)
2017-02-16 01:15 UTC, Piotr Drąg
committed Details | Review

Description Piotr Drąg 2016-09-29 22:58:19 UTC
Created attachment 336572 [details] [review]
Use Unicode in translatable strings

Attached patches convert ASCII characters to Unicode, as recommended by <https://developer.gnome.org/hig/stable/typography.html>.
Comment 1 Piotr Drąg 2017-02-16 01:15:13 UTC
Created attachment 345907 [details] [review]
Use Unicode in translatable strings

Rebased on master.
Comment 2 Florian Müllner 2017-02-16 01:24:57 UTC
Review of attachment 345907 [details] [review]:

The changes to the schema/meta_show_dialog() call are clearly fine, but I'm not sure about the other messages that go to the console/journal ... Are there any precedents for assuming unicode support there?
Comment 3 Piotr Drąg 2017-02-16 01:34:39 UTC
I don't know how it looks from the developer perspective, but I have messages in journal right now that have Unicode characters. 

systemd comes with a message catalog that's translated to many languages: https://github.com/systemd/systemd/tree/master/catalog and it all seems to work just fine.

glib has almost all of its messages converted to Unicode: https://git.gnome.org/browse/glib/commit/?id=10c490cdfe3ae042f747bd00f787492e2bdb7ed0 and I would assume some of them go to the console and journal.
Comment 4 Florian Müllner 2017-02-16 01:42:23 UTC
(In reply to Piotr Drąg from comment #3)
> glib has almost all of its messages converted to Unicode:
> https://git.gnome.org/browse/glib/commit/
> ?id=10c490cdfe3ae042f747bd00f787492e2bdb7ed0 and I would assume some of them
> go to the console and journal.

That's clearly a precedent, so the patch LGTM.
Comment 5 Piotr Drąg 2017-02-16 01:44:44 UTC
Comment on attachment 345907 [details] [review]
Use Unicode in translatable strings

Besides, if they are marked for translations, then they have Unicode on 80%+ installations. :)

Thank you, pushed!