Remove Flatpak test locale hack, just use en_US.UTF-8 for now
FDO 19.08 runtime now includes C.UTF-8 locale, but since Fedora now ships one that collates high-bit chars, it differs compared to Debian et al's and FDO. As a result, just use en_US.UTF-8 for now, probably until glibc actually ships it and so they all agree.
This commit is contained in:
parent
8814cd6c29
commit
8206cf434d
4 changed files with 20 additions and 27 deletions
|
|
@ -27,8 +27,11 @@ int main(string[] args) {
|
|||
*/
|
||||
|
||||
// Ensure things like e.g. GLib's formatting routines uses a
|
||||
// UTF-8-based locale rather ASCII
|
||||
GLib.Intl.setlocale(LocaleCategory.ALL, "C.UTF-8");
|
||||
// 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");
|
||||
|
||||
Gtk.init(ref args);
|
||||
Test.init(ref args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue