From bc9390453306c079700a01a5d1534bed7ef6eedb Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Wed, 22 Jan 2025 17:33:16 -0600 Subject: [PATCH] Set unicode-aware locale in containers --- Dockerfile.metadata | 3 +++ Dockerfile.netkan | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile.metadata b/Dockerfile.metadata index 91753188e..16d5fc0d0 100644 --- a/Dockerfile.metadata +++ b/Dockerfile.metadata @@ -4,6 +4,9 @@ FROM ubuntu:22.04 AS base # Don't prompt for time zone ENV DEBIAN_FRONTEND noninteractive +# Properly handle Unicode +ENV LANG C.utf-8 + # Put user-installed Python code in path ENV PATH "$PATH:/root/.local/bin" diff --git a/Dockerfile.netkan b/Dockerfile.netkan index 7f38a1fc8..5b9248054 100644 --- a/Dockerfile.netkan +++ b/Dockerfile.netkan @@ -3,6 +3,9 @@ FROM ubuntu:22.04 # Don't prompt for time zone ENV DEBIAN_FRONTEND noninteractive +# Properly handle Unicode +ENV LANG C.utf-8 + # Set up Mono's APT repo RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates gnupg \