From 211a58f1aa68e0ee870c9f8d5ba1822d4399c197 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Fri, 13 Oct 2023 16:03:04 +0300 Subject: [PATCH] wip --- .devcontainer/Dockerfile | 5 ++++- .devcontainer/locale.gen | 3 +++ .vscode/wine-ru_RU.cp1251 | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/locale.gen create mode 100755 .vscode/wine-ru_RU.cp1251 diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 476b969..cb10995 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -18,4 +18,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ gdb-mingw-w64-target \ clang-format \ ninja-build \ - && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* \ No newline at end of file + && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* + +COPY locale.gen /etc/ +RUN locale-gen \ No newline at end of file diff --git a/.devcontainer/locale.gen b/.devcontainer/locale.gen new file mode 100644 index 0000000..7cd8d33 --- /dev/null +++ b/.devcontainer/locale.gen @@ -0,0 +1,3 @@ +ru_RU.CP1251 CP1251 +ru_RU.UTF-8 UTF-8 +en_US.UTF-8 UTF-8 \ No newline at end of file diff --git a/.vscode/wine-ru_RU.cp1251 b/.vscode/wine-ru_RU.cp1251 new file mode 100755 index 0000000..140d97a --- /dev/null +++ b/.vscode/wine-ru_RU.cp1251 @@ -0,0 +1,2 @@ +#!/bin/bash +LC_ALL=ru_RU.cp1251 /usr/bin/wine "$@" \ No newline at end of file