Ensure test drivers all have sane locales set
This commit is contained in:
parent
5a0c105220
commit
788a06144f
3 changed files with 12 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ int main(string[] args) {
|
|||
* Initialise all the things.
|
||||
*/
|
||||
|
||||
// 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");
|
||||
|
||||
Gtk.init(ref args);
|
||||
Test.init(ref args);
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ int main(string[] args) {
|
|||
|
||||
Test.init(ref 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");
|
||||
|
||||
Geary.RFC822.init();
|
||||
Geary.HTML.init();
|
||||
Geary.Logging.init();
|
||||
|
|
|
|||
|
|
@ -26,6 +26,10 @@ int main(string[] args) {
|
|||
* Initialise all the things.
|
||||
*/
|
||||
|
||||
// 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");
|
||||
|
||||
Test.init(ref args);
|
||||
|
||||
Geary.RFC822.init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue