
Windows operating system
I use the following script \.git\hooks\commit-msg
#!/bin/sh
d:/VENV37/Scripts/activate.bat
COMMIT_MSG_FILE=$1
d:/VENV37/Scripts/python .git/hooks/commit-msg.py "$COMMIT_MSG_FILE"
How to get the correct display of characters in the console if the file is in UTF-8?