[gnome-continuous] Use a UTF-8 locale for the build environment



commit 58ced5f2b2a66cccd76d268c7ad9e8a1dc808c43
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 27 13:59:47 2017 +0000

    Use a UTF-8 locale for the build environment
    
    It's 2017. As much as using a C locale is the correct choice, we're
    using Unicode in file names and build messages, these days, which means
    that we need to be able to write Unicode to the terminal and logs.

 src/js/buildutil.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/buildutil.js b/src/js/buildutil.js
index 3c8140a..804c2ca 100644
--- a/src/js/buildutil.js
+++ b/src/js/buildutil.js
@@ -26,7 +26,7 @@ const GSystem = imports.gi.GSystem;
 const BUILD_ENV = {
     'HOME' : '/', 
     'HOSTNAME' : 'ostbuild',
-    'LANG': 'C',
+    'LANG': 'C.UTF-8',
     'PATH' : '/usr/bin:/bin:/usr/sbin:/sbin',
     'SHELL' : '/bin/bash',
     'TERM' : 'vt100',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]