You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
In addition to the previous message
The terminal displays a message if I switch the character set to cp1251
But switching the encoding in \.git\hooks\commit-msg.py to cp1251 does not give any result
Won! Indeed, some kind of symbol crept in. This behavior occurs if, when writing text, you correct the spelling using PuntoSwitcher. Apparently, this program leaves some traces when correcting the text.
I had to rewrite the text of the message completely carefully by hand and everything worked.
Everything is beautiful in the terminal!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.