From 7a7503045850ea83f205de6e71e6d886187f4a22 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 Aug 2023 18:11:27 +0200 Subject: [PATCH] revert: fix(cli): set LC_ALL to force english output LC_ALL must be set to a locale that exists on the current system, and there is no locale I can safely expect all systems to have (see #7361). Fortunately, c8070f1 seems to have addressed the underlying issue, so this fix can be reverted. Fix: #7361 Revert: #7331 Revert: 150ccd630565 Ref: c8070f11a448 --- bin/doom | 1 - bin/doomscript | 3 --- 2 files changed, 4 deletions(-) diff --git a/bin/doom b/bin/doom index deafdf662..f9d1841e6 100755 --- a/bin/doom +++ b/bin/doom @@ -1,6 +1,5 @@ #!/usr/bin/env sh :; # -*- mode: emacs-lisp; lexical-binding: t -*- -:; export LC_ALL=C.UTF-8 :; case "$EMACS" in *term*) EMACS=emacs ;; *) EMACS="${EMACS:-emacs}" ;; esac :; emacs="$EMACS ${DEBUG:+--debug-init} -q --no-site-file --batch" :; tmpdir=`$emacs --eval '(princ (temporary-file-directory))' 2>/dev/null` diff --git a/bin/doomscript b/bin/doomscript index fdb01edc3..dd0a22285 100755 --- a/bin/doomscript +++ b/bin/doomscript @@ -20,9 +20,6 @@ if [ "$#" -eq 0 ]; then exit 1 fi -# Prevent garbled non-English output from child processes -export LC_ALL=C.UTF-8 - case "$EMACS" in *term*) EMACS=emacs ;; # in {ansi-,v}term *) EMACS="${EMACS:-emacs}" ;;