On Sun, 2017-08-20 at 10:20 +0200, Johannes Sixt wrote: > It is not Git's fault that your terminal converts an invalid UTF-8 > sequence (that your script produces) to �. Nor is it when you paste that > character onto the command line, that it is passed as a (correct) UTF-8 > character. > You're right. I just now realise how I missed the line between "what's seen by us" and "what's seen by the program". > Perhaps this helps (untested): > > $ git branch -m done/$(printf '\x93')doc-fix done/dic-fix > This one helped, thanks. -- Kaartic