Skip to content

Comments

fix: garbled text while building on windows#28

Open
KojoBarbie wants to merge 1 commit intoYuvDwi:mainfrom
KojoBarbie:fix/utf-8-encoding
Open

fix: garbled text while building on windows#28
KojoBarbie wants to merge 1 commit intoYuvDwi:mainfrom
KojoBarbie:fix/utf-8-encoding

Conversation

@KojoBarbie
Copy link

Fix: Explicitly set UTF-8 encoding for Java compilation

Problem

Windows builds fail with encoding errors when source files contain Unicode characters (e.g., ↑↓, →) because Windows defaults to windows-31j encoding.

Solution

Add explicit UTF-8 encoding configuration to ensure consistent compilation across all platforms.

Changes

  • Configure all JavaCompile tasks to use UTF-8 encoding

This ensures cross-platform compatibility and prevents encoding-related compilation errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant