Console2 - diacritical characters in Git vim

247 Views Asked by At

For some time I use Console2 and it's perfect for me except one annoying thing. I've created new Git tab with shell "C:\Program Files (x86)\Git\bin\sh.exe" --login -i. This thing happens when I commit changes in vim. When I'm typing diacritical characters I get unexpected output eg ^ instead of ł. After typing commit message and close it by typing :wq output back to normal. All diacritical characters are preserved. This is revealed only while I'm typing in vim. In addition, when I'm using Git Bash, everything is fine. It is possible to fix this.

1

There are 1 best solutions below

1
On

You should check the values of some enconding options of vim, like 'encoding' and 'termencodings'.

Additional information here and here.