Repository navigation
build(backend): 컴파일 · 테스트 JVM 인코딩을 UTF-8 로 고정 - #476
Open
seeunrosypark wants to merge 2 commits into
Open
seeunrosypark wants to merge 2 commits into
seeunrosypark wants to merge 2 commits into
Conversation
Windows 기본 인코딩(cp949) PC 에서 한글 문자열 비교 테스트가 깨지던 문제를 막는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DB 구조 · studyclub-engineering:backendbeta @ f607914 와 같습니다 — DB 구조 변경 없음. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜
Windows PC(시스템 로캘 cp949)에서
./gradlew test를 돌리면 한글 문자열을 비교하는 테스트가 깨졌습니다. 그동안 매번JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8를 붙여 피해 왔습니다. CI(Linux)는 기본값이 UTF-8 이라 통과해서 드러나지 않았습니다.무엇을
build.gradle.kts: 모든 모듈의JavaCompile을options.encoding = "UTF-8"로 두고,TestJVM 에file.encoding·sun.jnu.encoding·stdout/stderr.encoding을 UTF-8 로 지정gradle.properties: Gradle 데몬도-Dfile.encoding=UTF-8로 실행확인 (Windows, cp949,
JAVA_TOOL_OPTIONS없이./gradlew test)Linux CI 는 이미 UTF-8 이라 동작이 바뀌지 않습니다.
🤖 Generated with Claude Code