git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
PBPieter de Bie <pdebie@ai.rug.nl>
Date
Feb 2, 2009, 00:50 UTC
Message-ID
<E9FE0F4D-8E6C-47D6-BA35-DDD739BD1AD6@ai.rug.nl>
In-Reply-To
<1976ea660902011643h379e41f1nd2f2c5f7b8d729f3@mail.gmail.com>
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?
Previous: Frank Li
Message 2 of 2 in “How let git think UTF-16 file as text file”
  1. Frank LiFeb 2, 2009
  2. Pieter de BieFeb 2, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.