threads / discuss / 17494

How let git think UTF-16 file as text file

Subject: How let git think UTF-16 file as text file

## tl;dr

2 messages between Feb 2, 2009 and Feb 2, 2009.

replies: 1people: 2as markdown or json

Frank Li· Feb 2, 2009, 00:43 UTC · lore

VS project resource file and resource header file use UTF-16 as unicode. Default git think it is binary file. How to let git think it is text file.

Pieter de Bie· Feb 2, 2009, 00:50 UTC · re: Frank Li · lore

Re: How let git think UTF-16 file as text file

On 2 feb 2009, at 00:43, Frank Li wrote:
> VS project resource file and resource header file use UTF-16 as  
> unicode.
> Default git think it is binary file.
> How to let git think it is text file.
Perhaps something like
*vs diff crlf
in your .gitattributes file?

← back to recent threads