git log 亂碼
This commit is contained in:
BIN
images/utf8_01.png
Normal file
BIN
images/utf8_01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
images/utf8_02.png
Normal file
BIN
images/utf8_02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
images/utf8_03.png
Normal file
BIN
images/utf8_03.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 53 KiB |
21
log_utf8.md
Normal file
21
log_utf8.md
Normal file
@@ -0,0 +1,21 @@
|
||||
### git log 亂碼
|
||||
|
||||

|
||||
|
||||
#### 解決方法
|
||||
設定環境變數 LC_ALL=C.UTF-8
|
||||
|
||||
Command Prompt
|
||||
```cmd
|
||||
set LC_ALL=C.UTF-8
|
||||
```
|
||||
|
||||
Powershell
|
||||
```powershell
|
||||
$env:LC_ALL=C.UTF-8
|
||||
```
|
||||
|
||||

|
||||
|
||||
#### 永久有效設定
|
||||

|
||||
Reference in New Issue
Block a user