threads / bug / 38498

Fwd: [BUG] dos2unix converts french accents to NULL char

Subject: Fwd: [BUG] dos2unix converts french accents to NULL char

## tl;dr

2 messages between Feb 4, 2015 and Feb 4, 2015.

replies: 1people: 2as markdown or json

Louis BAYLE· Feb 4, 2015, 16:00 UTC · lore

Hi, I'm using Git for windows version "Git version 1.9.5-preview20141217"

when converting a text file with unix2dos.exe or dos2unix.exe (via git bash), the files are corrupted if containing french accents.

as attachment, source and converted file after a dos2unix.
Note: the following library does the work correctly:
sourceforge.net/projects/dos2unix/
Louis BAYLE
Tel: +33 (0)4.42.604.734
lbayle.work@gmail.com
Matthieu Moy· Feb 4, 2015, 17:07 UTC · re: Louis BAYLE · lore

Re: Fwd: [BUG] dos2unix converts french accents to NULL char

Louis BAYLE <lbayle.work@gmail.com> writes:
> when converting a text file with unix2dos.exe or dos2unix.exe (via git
> bash),

Neither of these executables are part of Git. If you ask the question, I guess unix2dos.exe and dos2unix.exe are distributed as part of the Git for Windows distribution (which includes Git plus some programs from MinGW). You have better chance of getting an answer on the mailing list of this distribution:

http://groups.google.com/group/msysgit
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

← back to recent threads