From 3fa160365cef7e5869d0da0f76f41bbcbea2c125 Mon Sep 17 00:00:00 2001 From: cuqmbr Date: Wed, 6 Aug 2025 21:54:52 +0300 Subject: [PATCH] add unicode locale generation to Dockerfile before the change, unicode characters were displayed in console as question marks --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 073695b..fb69f0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,13 @@ RUN touch ${DATA_PATH}/pv-groups.json && \ ln -sf ${DATA_PATH}/pv-groups.json \ ${CONFIG_PATH}/plugins/pv-addon-groups/groups.json +# Generate unicode locale so that cyrillic characters display properly +RUN apt-get update -y && apt-get install -y locales && \ + echo en_US.UTF-8 UTF-8 > /etc/locale.gen && \ + dpkg-reconfigure --frontend=noninteractive locales +ENV LANG en_US.UTF-8 + + VOLUME ${DATA_PATH} -- 2.45.2