Revert "Revert "Charset bug on Windows OS if accent in setting "path" for a new repository""

This reverts commit ecd037c844a2452559d18865486c7b7f284b9c00.