0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Git for Windows 文字化け対策

Last updated at Posted at 2020-05-17

はじめに

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

対処方法

$ vi ~/.bashrc

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

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?