oh-my-git icon indicating copy to clipboard operation
oh-my-git copied to clipboard

German umlauts are discarded in editor area

Open UweSauter opened this issue 3 years ago • 1 comments

Environment: Arch Linux glibc 2.33-4

$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

When doing a commit by CLI the editor is opened with the default commit template. All umlauts that should be present are missing in the text.

UweSauter avatar Mar 26 '21 11:03 UweSauter

Thanks for letting us know, we were able to reproduce this! It seems like the built-in editor invoked by the scripts/fake-editor script doesn't handle UTF-8 correctly. Uh, any Perl programmers around? :D

blinry avatar Apr 12 '21 13:04 blinry