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

2 messages from 2015-02-04 to 2015-02-04. Participants: Louis BAYLE, Matthieu Moy.
Thread: https://gitlist.dev/t/38498

## Louis BAYLE, 2015-02-04 16:00

Subject: Fwd: [BUG] dos2unix converts french accents to NULL char
Message-ID: <CAD7Fce_60W=LvdhyW-fwEqzWnerC6WwV3Sw8VLct08LqDdrTJg@mail.gmail.com>
URL: https://gitlist.dev/e/CAD7Fce_60W%3DLvdhyW-fwEqzWnerC6WwV3Sw8VLct08LqDdrTJg%40mail.gmail.com
In-Reply-To: <CAD7Fce8vwrAZL-gh9a7530Tr=z=fpmqfOAdSMH7u4Jc_Odespg@mail.gmail.com>

```
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, 2015-02-04 17:07

Subject: Re: Fwd: [BUG] dos2unix converts french accents to NULL char
Message-ID: <vpqr3u561wi.fsf@anie.imag.fr>
URL: https://gitlist.dev/e/vpqr3u561wi.fsf%40anie.imag.fr
In-Reply-To: <CAD7Fce_60W=LvdhyW-fwEqzWnerC6WwV3Sw8VLct08LqDdrTJg@mail.gmail.com>

```
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/

```
