aboutsummaryrefslogtreecommitdiffstats
path: root/ui/build
diff options
context:
space:
mode:
Diffstat (limited to 'ui/build')
-rw-r--r--ui/build/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/build/config.go b/ui/build/config.go
index eef67cb9..a54ed82b 100644
--- a/ui/build/config.go
+++ b/ui/build/config.go
@@ -284,6 +284,9 @@ func (c *configImpl) configureLocale(ctx Context) {
// for others)
if inList("C.UTF-8", locales) {
c.environ.Set("LANG", "C.UTF-8")
+ } else if inList("C.utf8", locales) {
+ // These normalize to the same thing
+ c.environ.Set("LANG", "C.UTF-8")
} else if inList("en_US.UTF-8", locales) {
c.environ.Set("LANG", "en_US.UTF-8")
} else if inList("en_US.utf8", locales) {