Skip to content

Accents (non ASCII 7bit chars?) are not handled correctly with vi (git commit, ...) #298

Closed
@Skywalker13

Description

@Skywalker13

Example (release 10ca1f7):

$ mkdir test

$ cd test

$ git init .
Initialized empty Git repository in S:/test/.git/

$ vi README

# Write some accents like ééééé with vi, then there is a problem
# because a space appears between each chars:
  1 é é é é é
# :wq

$ cat README
ééééé
# OK, the content is right even if on the screen (in vi) it was wrong

$ git add README
warning: LF will be replaced by CRLF in README.
The file will have its original line endings in your working directory.

$ git commit
# Same problem with `git commit`, `git commit --amend` of course...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions