From 80912109ba9321cc1d9bb890c7c958eba618171a Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 29 Jun 2026 14:28:59 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20undo.bat=20=E2=80=94=20add=20chcp=206500?= =?UTF-8?q?1=20for=20UTF-8=20Cyrillic=20paths?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- organize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/organize.py b/organize.py index 2d5f45d..7dccef0 100644 --- a/organize.py +++ b/organize.py @@ -570,6 +570,7 @@ def _write_logs(entries: list[dict[str, str]], # Undo .bat — restores files in reverse order of columns with undo_path.open('w', encoding='utf-8') as f: f.write('@echo off\r\n') + f.write('chcp 65001 >nul\r\n') f.write('title Raskidator-3000 — Undo move\r\n') f.write('setlocal enabledelayedexpansion\r\n') f.write('echo Restoring files...\r\n')