Quantcast
Channel: Bashタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 2914

Windows Git Bash 文字化け対策

$
0
0

はじめに

Windows Git Bash インストール後に、git log とかで日本語表示が文字化けしている。
.bashrc に「JAVA_TOOL_OPTIONS」設定を加える必要があり。

対処方法

$ vi ~/.bashrc

chcp 65001
export PAGER=less
export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

Viewing all articles
Browse latest Browse all 2914

Trending Articles