버그 수정 — 스케줄러 한글 경로 깨짐 + 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:
@@ -1,8 +1,10 @@
|
||||
# claude_evening 실행 스크립트
|
||||
# 작업 스케줄러에서 15:30에 실행 (평일)
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user