Skip to content

Commit ffcb35e

Browse files
committed
Add UTF-8 encoding environment variables in Dockerfile for improved Unicode handling
1 parent e3b42f8 commit ffcb35e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

agent-backend/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ ARG LOG_LEVEL
3333

3434
ENV LOG_LEVEL=$LOG_LEVEL
3535

36+
# Set UTF-8 encoding for proper Unicode handling
37+
ENV PYTHONIOENCODING=utf-8 \
38+
PYTHONUTF8=1 \
39+
LANG=C.UTF-8 \
40+
LC_ALL=C.UTF-8
41+
3642
ENV VIRTUAL_ENV=/app/.venv \
3743
PATH="/app/.venv/bin:$PATH"
3844

0 commit comments

Comments
 (0)