fix: use UTF-8 BOM for .bat so cmd shows Cyrillic correctly

UTF-8 without BOM + chcp 65001 showed '????' because cmd reads .bat under the
OEM codepage, not chcp. A UTF-8 BOM makes cmd read the file as UTF-8 regardless
of the console codepage; verified Cyrillic in echo/set/for displays correctly
even when cmd starts at cp866. AGENTS.md updated accordingly.
This commit is contained in:
Codex committed 2026-07-30 22:50:23 +03:00
1 parent db4f33f725
commit 71e2fef4d9
3 files changed
+11 -8

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
@echo off
@echo off
REM ============================================================
REM open-firewall.bat - открывает порт 8080 в Windows Firewall.
REM Запускать от имени администратора (один раз).