From 963aaa3673b4f42010a1b2b972d558452f6e4789 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 12 Dec 2025 10:01:59 +0800 Subject: [PATCH] Fix usage issues in different countries --- bin/check.sh | 4 ++++ bin/optimize.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bin/check.sh b/bin/check.sh index 044902f..8225d60 100755 --- a/bin/check.sh +++ b/bin/check.sh @@ -2,6 +2,10 @@ set -euo pipefail +# Fix locale issues (similar to Issue #83) +export LC_ALL=C +export LANG=C + # Load common functions SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" source "$SCRIPT_DIR/lib/core/common.sh" diff --git a/bin/optimize.sh b/bin/optimize.sh index 2d517e3..3f474c9 100755 --- a/bin/optimize.sh +++ b/bin/optimize.sh @@ -2,6 +2,10 @@ set -euo pipefail +# Fix locale issues (Issue #83) +export LC_ALL=C +export LANG=C + # Load common functions SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" source "$SCRIPT_DIR/lib/core/common.sh"