Re: help request: unable to merge UTF-16-LE "text" file
- From
- Erik Cervin Edin <erik@cervined.in>
- Date
- Apr 20, 2022, 17:25 UTC
- Message-ID
- <CA+JQ7M8+FR+_t+Fafoggz47bT0joAZFEkjhjf72teZgdNEoNZQ@mail.gmail.com>
- In-Reply-To
- <CAJCZ4U-9KYGK0jwnL1GyOYW-CMjV_Eo--g85CbexsV=aQnn7aw@mail.gmail.com>
On Wed, Apr 20, 2022 at 6:29 PM Kevin Long <kevinlong206@gmail.com> wrote:
> > The problem file is a .sln file (Visual Studio "solution"). Edited in > both branches. It is a "text" file, but is encoded as such:
Can you convert it to utf-8 in both branches and then merge? iconv.exe -f utf-16le -t utf-8 foo.sln > tmp.sln && mv -f tmp.sln foo.sln