Skip to content

Instantly share code, notes, and snippets.

@HAKASHUN
Created September 30, 2013 03:03
Show Gist options
  • Save HAKASHUN/6758914 to your computer and use it in GitHub Desktop.
Save HAKASHUN/6758914 to your computer and use it in GitHub Desktop.
macのコマンドラインアプリで、javacとjavaの出力結果が文字化けする際の対処
alias javac='javac -J-Dfile.encoding=UTF-8'
alias java='java -Dfile.encoding=UTF-8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment