Skip to content

testutils: Run in UTF8 locale

Benjamin Otte requested to merge test-locale-change into master

before, code was using the "C" locale, but that one uses ASCII. Instead, run in the "C.utf8" locale.

Nobody expects code to not support UTF8 and no end user runs their machine in an ASCII setup, so it makes no sense to default to that.

I encountered this when running the testsuite and triggering a bunch of warnings in the new layout manager code, which use fancy UTF-8, so I got:

(gtk-reftest:3852): Gtk-WARNING **: 05:40:58.006: Unable to find layout property ?x? for children of layout managers of type ?GtkFixedLayout?

Any reason against doing this?

Merge request reports