Skip to content

Instantly share code, notes, and snippets.

@asdf913
Created June 22, 2024 05:46
Show Gist options
  • Save asdf913/65aa2113e4e596ed6f96f5bcbfbd1240 to your computer and use it in GitHub Desktop.
Save asdf913/65aa2113e4e596ed6f96f5bcbfbd1240 to your computer and use it in GitHub Desktop.
Convert all java file under all sub folder encoding from UTF-8 to CP932
find . -name "*.java" -type f -exec readlink -f {} \;|xargs -I {} iconv -f UTF-8 -t CP932 {}>{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment