chore(git): Gitea PR 헬퍼 — UTF-8 안전 생성/수정/머지 도구 #42
Reference in New Issue
Block a user
Delete Branch "chore/gitea-pr-tool"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
요약
PR #34~41의 제목·본문 한글이 깨져 올라간 사고의 재발 방지 도구.
원인
Windows에서 bash 인라인
curl -d '{"title":"한글…"}'본문이 셸 경계에서 CP949로 인코딩되어 전송 → Gitea가 잘못된 UTF-8을 �로 대체.해결 —
tools/git/gitea-pr.mjsfetch가application/json; charset=utf-8로 전송git credential fill(GCM)에서 토큰 자동 취득, 401 시 1회 재시도create <spec.json>/edit <번호> <spec.json>/merge <번호>/show <번호>조치 완료
🤖 Generated with Claude Code