feat: use more universal C.UTF-8 instead of en_US.UTF-8 (#30621)

This commit is contained in:
wangxiaolei authored and GitHub committed 2026-01-06 16:39:04 +08:00
1 parent 5661f821c3
commit 2cc89d30db
4 files changed
+11 -8

No files matched your search

+3 -2
View File
@@ -3,8 +3,9 @@
set -e
# Set UTF-8 encoding to address potential encoding issues in containerized environments
export LANG=${LANG:-en_US.UTF-8}
export LC_ALL=${LC_ALL:-en_US.UTF-8}
# Use C.UTF-8 which is universally available in all containers
export LANG=${LANG:-C.UTF-8}
export LC_ALL=${LC_ALL:-C.UTF-8}
export PYTHONIOENCODING=${PYTHONIOENCODING:-utf-8}
if [[ "${MIGRATION_ENABLED}" == "true" ]]; then