버그 수정 — 스케줄러 한글 경로 깨짐 + Python 로그 UTF-8 강제

- setup_scheduler.ps1: chcp 65001, StockBot_Bot 제거, XML 경로 자동 교정
- run_morning/midday/evening.ps1: chcp 65001 + PYTHONUTF8=1 추가
- app/main.py: sys.stdout.reconfigure(encoding=utf-8) 추가

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-20 13:54:15 +09:00
parent 12956919f6
commit 1690f4e248
5 changed files with 44 additions and 7 deletions
+2
View File
@@ -1,8 +1,10 @@
# claude_morning 실행 스크립트
# 작업 스케줄러에서 08:15에 실행 (평일)
chcp 65001 | Out-Null # 콘솔 코드페이지 UTF-8 (외부 프로세스 출력 디코딩)
$OutputEncoding = [System.Text.Encoding]::UTF8
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$env:PYTHONUTF8 = "1"
$env:PYTHONIOENCODING = "utf-8"
$PROJECT = Split-Path -Parent $PSScriptRoot