migrate locale from en_US.UTF-8 to C.UTF-8

This commit is contained in:
Kamila Łopuszańska 2025-07-02 14:32:07 +02:00 committed by Niels De Graef
parent e1a5e4503a
commit 43c23270a6
4 changed files with 5 additions and 21 deletions

View file

@ -22,12 +22,7 @@ int main(string[] args) {
* Initialise all the things.
*/
// Ensure things like e.g. GLib's formatting routines uses a
// well-known UTF-8-based locale rather ASCII. Would like to use
// C.UTF-8 here, but currently only Debian et al and Fedora ship
// it, and as of Fedora 32 they disagree on collation order for
// non-ASCII chars.
GLib.Intl.setlocale(LocaleCategory.ALL, "en_US.UTF-8");
GLib.Intl.setlocale(LocaleCategory.ALL, "C.UTF-8");
Gtk.init(ref args);
Test.init(ref args);