Fix Windows-Konsolen-Encoding für Log-Ausgaben (UTF-8 vs. CP850)

- log4j2.xml: charset="UTF-8" explizit auf beiden PatternLayout-Elementen
  (Console + RollingFile), damit Log4j2 unabhängig vom JVM-Standard UTF-8
  schreibt
- Batch-Dateien: chcp 65001 vor dem EXE-Aufruf, damit die Windows-Konsole
  die UTF-8-Bytes korrekt anzeigt
- docs/betrieb.md: neuer Abschnitt "Konsolen-Encoding unter Windows" mit
  Hinweis auf chcp 65001 und -Dstdout.encoding=UTF-8 für den direkten
  Standalone-JAR-Start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 12:13:50 +02:00
parent 13e4922272
commit 3e1f59fd12
5 changed files with 27 additions and 3 deletions
@@ -1,2 +1,3 @@
@echo off
chcp 65001 >nul
"%~dp0PDF-KI-Renamer\PDF-KI-Renamer.exe" %*