mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
feat: use more universal C.UTF-8 instead of en_US.UTF-8 (#30621)
This commit is contained in:
1 parent
5661f821c3
commit
2cc89d30db
4 files changed
+11
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user