Proposed solution can be found in branch "use-utf8-in-win-external-editor"